]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: skip ipcs limits overflow when bc is not available
authorGilles Espinasse <g.esp@free.fr>
Sun, 14 Oct 2012 15:19:10 +0000 (17:19 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 15 Oct 2012 15:15:39 +0000 (17:15 +0200)
Found only this one while trying as-root tests

Signed-off-by: Gilles Espinasse <g.esp@free.fr>
tests/ts/ipcs/limits

index ed6e084ce1a2c974f4bfd38908dcf668db8d20a8..b44adb1c180e6f916e3ed85f13740926b268d254 100755 (executable)
@@ -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