summaryrefslogtreecommitdiffstats
path: root/test/script/test_common.sh
diff options
context:
space:
mode:
authorJiri Olsa <Jiri Olsa jolsa@redhat.com>2011-06-15 23:19:12 +0200
committerJiri Olsa <Jiri Olsa jolsa@redhat.com>2011-06-17 12:08:12 +0200
commit84e8f950cc8705bfdc7dee571f59153daeea180a (patch)
tree93d8784e394db84e38b10ce3de27a5223903ea91 /test/script/test_common.sh
parentbe08addc50d60683fdcc9c3b8cf4488d940e3b96 (diff)
downloadlatrace-84e8f950cc8705bfdc7dee571f59153daeea180a.tar.gz
latrace-84e8f950cc8705bfdc7dee571f59153daeea180a.tar.xz
latrace-84e8f950cc8705bfdc7dee571f59153daeea180a.zip
test: Move all tests to scripts
Moving test-args/test-common into scripts, to have common way of running and cheking tests results.
Diffstat (limited to 'test/script/test_common.sh')
-rw-r--r--test/script/test_common.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/script/test_common.sh b/test/script/test_common.sh
new file mode 100644
index 0000000..f342842
--- /dev/null
+++ b/test/script/test_common.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+. $PWD/test/script/functions.sh
+
+function test_common
+{
+ LD_LIBRARY_PATH=$PWD ./latrace -qR ./test-common > /dev/null
+ CHECK_RET
+}