From 21fc71fc9f2002207ad6178beb66fc020c386a57 Mon Sep 17 00:00:00 2001 From: Bob Glossman Date: Sat, 1 Apr 2017 13:49:20 -0700 Subject: [PATCH] LU-9281 test: stop using invalid ps option Use of the '-q' option in a ps commend was introduced in sanity.sh test_161d by the recent commit ee25babfe72378f9496a9732742984f26eb7d4a5. Thst option isn't valid in all versions of ps. It doesn't exist in any sles version. Use the '-p' option which exists everywhere instead. Test-Parameters: clientdistro=sles12sp2 testgroup=review-ldiskfs Signed-off-by: Bob Glossman Change-Id: I143be0c1ad633889c9ed3ff7f5cb38bf54feb19a Reviewed-on: https://review.whamcloud.com/26298 Tested-by: Jenkins Reviewed-by: Faccini Bruno Tested-by: Maloo Reviewed-by: Andreas Dilger --- lustre/tests/sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index a091e22..0985bbe 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -11259,7 +11259,7 @@ test_161d() { # wait for create to be delayed sleep 2 - ps -q $pid + ps -p $pid [[ $? -eq 0 ]] || error "create should be blocked" local tempfile=$(mktemp) -- 1.8.3.1