diff options
author | Jiri Olsa <Jiri Olsa jolsa@redhat.com> | 2011-06-15 23:19:12 +0200 |
---|---|---|
committer | Jiri Olsa <Jiri Olsa jolsa@redhat.com> | 2011-06-17 12:08:12 +0200 |
commit | 84e8f950cc8705bfdc7dee571f59153daeea180a (patch) | |
tree | 93d8784e394db84e38b10ce3de27a5223903ea91 /test/script/test_common.sh | |
parent | be08addc50d60683fdcc9c3b8cf4488d940e3b96 (diff) | |
download | latrace-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.sh | 9 |
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 +} |