summaryrefslogtreecommitdiffstats
path: root/tests/functions.sh
diff options
context:
space:
mode:
authorKarel Zak2007-01-03 00:42:23 +0100
committerKarel Zak2007-01-04 14:41:29 +0100
commit97cdb3cb5c7c20da3bc28962001b33c4ea083d69 (patch)
tree0327a8bb5226a3a3f9b7b28e94769b52d2160d82 /tests/functions.sh
parentmore: fix file descriptor leak (diff)
downloadkernel-qcow2-util-linux-97cdb3cb5c7c20da3bc28962001b33c4ea083d69.tar.gz
kernel-qcow2-util-linux-97cdb3cb5c7c20da3bc28962001b33c4ea083d69.tar.xz
kernel-qcow2-util-linux-97cdb3cb5c7c20da3bc28962001b33c4ea083d69.zip
ipcs: add regression test for output headers
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/functions.sh')
-rw-r--r--tests/functions.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/functions.sh b/tests/functions.sh
index 64392e4d5..2a18ef583 100644
--- a/tests/functions.sh
+++ b/tests/functions.sh
@@ -15,6 +15,8 @@ function ts_init {
TS_DIFF="$TS_DIFFDIR/$TS_NAME"
TS_EXPECTED="$TS_EXPECTEDDIR/$TS_NAME"
+ rm -f $TS_OUTPUT
+
printf "%15s: %-25s ..." "$TS_COMPONENT" "$TS_DESC"
}
@@ -30,6 +32,9 @@ function ts_finalize {
else
res=0
fi
+ else
+ echo " IGNORE (expected output undefined)"
+ exit 0
fi
if [ $res -eq 0 ]; then
echo " OK"