From b30cd7eed5b70c5eaf08f8681eb3f717c4d11329 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 3 Jan 2007 01:07:55 +0100 Subject: ipcs: add new tests for ipcs limits The tests check if data from kernel and from the ipcs command are same. Signed-off-by: Karel Zak --- tests/functions.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'tests/functions.sh') diff --git a/tests/functions.sh b/tests/functions.sh index 2a18ef583..81168fc32 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -3,6 +3,11 @@ TS_OUTDIR="$TS_TOPDIR/output" TS_DIFFDIR="$TS_TOPDIR/diff" TS_EXPECTEDDIR="$TS_TOPDIR/expected" +function ts_skip { + echo " IGNORE ($1)" + exit 0 +} + function ts_init { TS_NAME=$(basename $0) if [ ! -d $TS_OUTDIR ]; then @@ -37,7 +42,11 @@ function ts_finalize { exit 0 fi if [ $res -eq 0 ]; then - echo " OK" + if [ x"$1" == x"" ]; then + echo " OK" + else + echo " OK ($1)" + fi exit 0 else echo " FAILED ($TS_NAME)" -- cgit v1.2.3-55-g7522