usttrace man page update
[ust.git] / tests / runtests
index 54ca69bf81a08f28b3430914ade6df0a8ffbd470..40f7528e99df04509c57d31e9d87450b4cd2fcfe 100755 (executable)
@@ -109,9 +109,13 @@ wait $!
 echo "Valgrind output is in $VALG_OUT"
 NOFAIL [ -z "$(<$VALG_OUT)" ]
 
-### Valgrind libust ###
-starttest "libust valgrind check"
-
+### dlopen ###
+starttest "dlopen"
+LD_LIBRARY_PATH=$TESTDIR/dlopen/.libs NOFAIL usttrace $TESTDIR/dlopen/dlopen
+trace_loc=$(usttrace -W)
+NOFAIL $MATCHES -N "from_library" -n 1 "^ust.from_library:" $trace_loc
+NOFAIL $MATCHES -N "from_main_before_lib" -n 1 "^ust.from_main_before_lib:" $trace_loc
+NOFAIL $MATCHES -N "from_main_after_lib" -n 1 "^ust.from_main_after_lib:" $trace_loc
 echo "************************************"
 echo "$0: All passed"
 echo "************************************"
This page took 0.022946 seconds and 4 git commands to generate.