summaryrefslogtreecommitdiffstats
path: root/tests/ts/ipcs
diff options
context:
space:
mode:
authorGilles Espinasse2012-10-14 17:19:10 +0200
committerKarel Zak2012-10-15 17:15:39 +0200
commit92273ea17731cea40f8bc65496b792fbc8a6862a (patch)
tree50bf518f2d7de062a54a7218ae554fbfa2dd6b2c /tests/ts/ipcs
parenttests: fix ipcs basic limit when bc is not available (diff)
downloadkernel-qcow2-util-linux-92273ea17731cea40f8bc65496b792fbc8a6862a.tar.gz
kernel-qcow2-util-linux-92273ea17731cea40f8bc65496b792fbc8a6862a.tar.xz
kernel-qcow2-util-linux-92273ea17731cea40f8bc65496b792fbc8a6862a.zip
tests: skip ipcs limits overflow when bc is not available
Found only this one while trying as-root tests Signed-off-by: Gilles Espinasse <g.esp@free.fr>
Diffstat (limited to 'tests/ts/ipcs')
-rwxr-xr-xtests/ts/ipcs/limits1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ts/ipcs/limits b/tests/ts/ipcs/limits
index ed6e084ce..b44adb1c1 100755
--- a/tests/ts/ipcs/limits
+++ b/tests/ts/ipcs/limits
@@ -23,6 +23,7 @@ TS_DESC="limits overflow"
ts_init "$*"
ts_skip_nonroot
+type bc >/dev/null 2>&1 || ts_skip "cannot find bc command"
. $TS_SELF/functions.sh