summaryrefslogtreecommitdiffstats
path: root/test/script/test_common.sh
blob: 2a1b33bb8c61c0669be803715b07ffdb0e6de152 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

. $PWD/test/script/functions.sh

function test_common
{
	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
}