diff options
author | Gilles Espinasse | 2012-10-14 15:52:55 +0200 |
---|---|---|
committer | Karel Zak | 2012-10-15 17:15:25 +0200 |
commit | a4bc341c7d09630eadfcfb61dae6adb246beecad (patch) | |
tree | 2bb1141db0dc3e683d14e693ec79727d5224c3a0 /tests | |
parent | libmount: fixed comment about param (diff) | |
download | kernel-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')
-rwxr-xr-x | tests/ts/ipcs/limits2 | 1 |
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 |