[PATCH] tests : skip ipcs limits overflow when bc is not available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Gilles Espinasse <g.esp@xxxxxxx>

Found only this one while trying as-root tests
---
 tests/ts/ipcs/limits |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/ts/ipcs/limits b/tests/ts/ipcs/limits
index ed6e084..b44adb1 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
 
-- 
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux