From: Gilles Espinasse Date: Sun, 14 Oct 2012 13:52:55 +0000 (+0200) Subject: tests: fix ipcs basic limit when bc is not available X-Git-Tag: v2.23-rc1~619 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4bc341c7d09630eadfcfb61dae6adb246beecad;p=thirdparty%2Futil-linux.git 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 --- diff --git a/tests/ts/ipcs/limits2 b/tests/ts/ipcs/limits2 index acb174912f..f99a35448f 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