* [ptxdist] [PATCH] Update test for presence of procps ps
@ 2015-09-17 9:07 Uwe Kleine-König
0 siblings, 0 replies; only message in thread
From: Uwe Kleine-König @ 2015-09-17 9:07 UTC (permalink / raw)
To: ptxdist; +Cc: Clemens Gruber
Since commit ea6d375e95f9 ("procps: switch from procps to procps-ng")
the output of ps --help (on the target) changed which breaks the
respective test.
I didn't check what happens if this updated test hits an old procps but
this hardly matters.
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
tests/libptxdisttest.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/libptxdisttest.sh b/tests/libptxdisttest.sh
index 783a542c4eba..6bfeafe3f83a 100644
--- a/tests/libptxdisttest.sh
+++ b/tests/libptxdisttest.sh
@@ -303,7 +303,7 @@ all_on_board() {
test_end
test_begin
checking "for regular ps on target"
- remote 'ps --help | grep -q "^-o"' 2>> "$LOGFILE"
+ remote 'ps --help all | grep -q -e "-o"' 2>> "$LOGFILE"
result fatal
test_end
}
--
2.5.0
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-09-17 9:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-17 9:07 [ptxdist] [PATCH] Update test for presence of procps ps Uwe Kleine-König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox