summaryrefslogtreecommitdiffstats
path: root/test/script/functions.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/functions.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/functions.sh')
-rw-r--r--test/script/functions.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/script/functions.sh b/test/script/functions.sh
index 361b364..523116d 100644
--- a/test/script/functions.sh
+++ b/test/script/functions.sh
@@ -3,7 +3,8 @@
function CHECK_RET
{
if [ $? -ne 0 ]; then
- echo "FAILED"
+ echo " FAILED"
+ exit -1
else
echo -n "."
fi