summaryrefslogtreecommitdiffstats
path: root/test/script/test_common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/script/test_common.sh')
-rw-r--r--test/script/test_common.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/script/test_common.sh b/test/script/test_common.sh
index f342842..2a1b33b 100644
--- a/test/script/test_common.sh
+++ b/test/script/test_common.sh
@@ -4,6 +4,12 @@
function test_common
{
- LD_LIBRARY_PATH=$PWD ./latrace -qR ./test-common > /dev/null
+ cat > /tmp/tc_latrace.conf <<EOF
+void test_common_args_ptrlen(char *ptr);
+EOF
+
+ LD_LIBRARY_PATH=$PWD ./latrace -a /tmp/tc_latrace.conf -qR ./test-common > /dev/null
CHECK_RET
+
+ rm -f /tmp/tc_latrace.conf
}