diff options
author | Rob Landley <rob@landley.net> | 2016-03-02 15:20:04 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-03-02 15:20:04 -0600 |
commit | 336c44adca1768ada1e1e2f4d7dbbc33e994e582 (patch) | |
tree | 9780ee9602ffbca6b04e472d3ac0d158f92ac49c /tests/pwd.test | |
parent | eb830728b12152702c3852d079ad5c8a7f6e709b (diff) | |
download | toybox-336c44adca1768ada1e1e2f4d7dbbc33e994e582.tar.gz |
Factor out command name at the start of test name, have runtest.sh print it.
Diffstat (limited to 'tests/pwd.test')
-rwxr-xr-x | tests/pwd.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pwd.test b/tests/pwd.test index b02055b1..68d22e35 100755 --- a/tests/pwd.test +++ b/tests/pwd.test @@ -8,7 +8,7 @@ testing "pwd" "[ $(stat -c %i "$(pwd)") = $(stat -c %i .) ] && echo yes" \ "yes\n" "" "" -testing "pwd -P" "[ $(stat -c %i "$(pwd -P)") = $(stat -c %i .) ] && echo yes" \ +testing "-P" "[ $(stat -c %i "$(pwd -P)") = $(stat -c %i .) ] && echo yes" \ "yes\n" "" "" @@ -16,11 +16,11 @@ ln -s . sym cd sym testing "pwd" "[ $(stat -c %i "$(pwd)") = $(stat -c %i "$PWD") ] && echo yes" \ "yes\n" "" "" -testing "pwd -P" "[ $(stat -c %i "$(pwd -P)") = $(stat -c %i "$PWD") ] || echo yes" \ +testing "-P" "[ $(stat -c %i "$(pwd -P)") = $(stat -c %i "$PWD") ] || echo yes" \ "yes\n" "" "" cd .. rm sym export PWD=walrus -testing "pwd (bad PWD)" "[ "$(pwd)" = "$(cd . ; pwd)" ] && echo yes" \ +testing "(bad PWD)" "[ "$(pwd)" = "$(cd . ; pwd)" ] && echo yes" \ "yes\n" "" "" |