mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Subject: [ptxdist] [PATCH] Update test for presence of procps ps
Date: Thu, 17 Sep 2015 11:07:32 +0200	[thread overview]
Message-ID: <1442480852-23452-1-git-send-email-u.kleine-koenig@pengutronix.de> (raw)

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

                 reply	other threads:[~2015-09-17  9:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1442480852-23452-1-git-send-email-u.kleine-koenig@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=clemens.gruber@pqgruber.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox