aboutsummaryrefslogtreecommitdiff
path: root/tests/hostname.test
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-03-02 15:20:04 -0600
committerRob Landley <rob@landley.net>2016-03-02 15:20:04 -0600
commit336c44adca1768ada1e1e2f4d7dbbc33e994e582 (patch)
tree9780ee9602ffbca6b04e472d3ac0d158f92ac49c /tests/hostname.test
parenteb830728b12152702c3852d079ad5c8a7f6e709b (diff)
downloadtoybox-336c44adca1768ada1e1e2f4d7dbbc33e994e582.tar.gz
Factor out command name at the start of test name, have runtest.sh print it.
Diffstat (limited to 'tests/hostname.test')
-rwxr-xr-xtests/hostname.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hostname.test b/tests/hostname.test
index 56e4a2a3..5107ce22 100755
--- a/tests/hostname.test
+++ b/tests/hostname.test
@@ -14,5 +14,5 @@ hostnameOut=`$hostnameExe`
# New hostname
NewHostname="NewHostName.system"
-testing "hostname get" "hostname" "$hostnameOut\n" "" ""
-testing "hostname set, Get and then Reset" "hostname $NewHostname; hostname; hostname $hostnameOut; hostname" "$NewHostname\n$hostnameOut\n" "" ""
+testing "get" "hostname" "$hostnameOut\n" "" ""
+testing "set, Get and then Reset" "hostname $NewHostname; hostname; hostname $hostnameOut; hostname" "$NewHostname\n$hostnameOut\n" "" ""