util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tests : skip ipcs limits overflow when bc is not available
@ 2012-10-14 15:19 Gilles Espinasse
  0 siblings, 0 replies; only message in thread
From: Gilles Espinasse @ 2012-10-14 15:19 UTC (permalink / raw)
  To: util-linux; +Cc: Gilles Espinasse

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

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-14 15:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-14 15:19 [PATCH] tests : skip ipcs limits overflow when bc is not available Gilles Espinasse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).