From 54403c725b4d27db388d4ac0468cf63bc11e517e Mon Sep 17 00:00:00 2001 From: Thomas Levine <_@thomaslevine.com> Date: Mon, 29 Feb 2016 12:48:13 +0000 Subject: [PATCH] support GNU and BusyBox ps --- .../With -s, a sh test should be invoked with sh. | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Cross-shell testing/.test-run-by-specified-shell/With -s, a sh test should be invoked with sh. b/tests/Cross-shell testing/.test-run-by-specified-shell/With -s, a sh test should be invoked with sh. index 4b13cf5..b8cda37 100755 --- a/tests/Cross-shell testing/.test-run-by-specified-shell/With -s, a sh test should be invoked with sh. +++ b/tests/Cross-shell testing/.test-run-by-specified-shell/With -s, a sh test should be invoked with sh. @@ -3,4 +3,4 @@ # This script should run with /bin/sh # regardless of whether -s or -n is passed. -ps -a | grep $$ | grep /bin/sh +ps -o pid,comm,args | grep $$ | grep /bin/sh