* [PATCH] tests : fix ipcs basic limit when bc is not available
@ 2012-10-14 13:52 Gilles Espinasse
0 siblings, 0 replies; only message in thread
From: Gilles Espinasse @ 2012-10-14 13:52 UTC (permalink / raw)
To: util-linux; +Cc: Gilles Espinasse
Signed-off-by: Gilles Espinasse <g.esp@free.fr>
Skip basic limit test if bc is not available.
That happen to be the case when building from sources, following LFS book
---
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 acb1749..f99a354 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
--
1.7.2.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-14 13:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-14 13:52 [PATCH] tests : fix ipcs basic limit 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).