summaryrefslogtreecommitdiffstats
path: root/tests/ts/ipcs
diff options
context:
space:
mode:
authorGilles Espinasse2012-10-14 15:52:55 +0200
committerKarel Zak2012-10-15 17:15:25 +0200
commita4bc341c7d09630eadfcfb61dae6adb246beecad (patch)
tree2bb1141db0dc3e683d14e693ec79727d5224c3a0 /tests/ts/ipcs
parentlibmount: fixed comment about param (diff)
downloadkernel-qcow2-util-linux-a4bc341c7d09630eadfcfb61dae6adb246beecad.tar.gz
kernel-qcow2-util-linux-a4bc341c7d09630eadfcfb61dae6adb246beecad.tar.xz
kernel-qcow2-util-linux-a4bc341c7d09630eadfcfb61dae6adb246beecad.zip
tests: fix ipcs basic limit when bc is not available
Skip basic limit test if bc is not available. That happen to be the case when building from sources, following LFS book Signed-off-by: Gilles Espinasse <g.esp@free.fr>
Diffstat (limited to 'tests/ts/ipcs')
-rwxr-xr-xtests/ts/ipcs/limits21
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ts/ipcs/limits2 b/tests/ts/ipcs/limits2
index acb174912..f99a35448 100755
--- a/tests/ts/ipcs/limits2
+++ b/tests/ts/ipcs/limits2
@@ -21,6 +21,7 @@ TS_DESC="basic limits"
. $TS_TOPDIR/functions.sh
ts_init "$*"
+type bc >/dev/null 2>&1 || ts_skip "cannot find bc command"
. $TS_SELF/functions.sh