finish cross-shell testing tests
This commit is contained in:
parent
d3752070ea
commit
d5f1060c1a
@ -3,8 +3,4 @@
|
|||||||
# This script should run with /bin/sh
|
# This script should run with /bin/sh
|
||||||
# regardless of whether -s or -n is passed.
|
# regardless of whether -s or -n is passed.
|
||||||
|
|
||||||
this_shell=$(ps -o pid,comm | sed -n "s/^ *$$//p" | cut -d\ -f2)
|
ps -a | grep $$ | grep /bin/sh
|
||||||
|
|
||||||
echo "Running shell: $this_shell"
|
|
||||||
|
|
||||||
test $(basename "$this_shell") = sh
|
|
||||||
|
Loading…
Reference in New Issue
Block a user