aboutsummaryrefslogtreecommitdiff
path: root/tests/renice.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/renice.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/renice.test')
-rwxr-xr-xtests/renice.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/renice.test b/tests/renice.test
index e87111cc..e350c272 100755
--- a/tests/renice.test
+++ b/tests/renice.test
@@ -45,7 +45,7 @@ do
nice_val3=$((`fun_nice_val $proc3` + $n_v))
nice_val4=$((`fun_nice_val $proc4` + $n_v))
nice_val5=$((`fun_nice_val $proc5` + $n_v))
- testing "renice with -n=$n_v and with$n_o multiple_pids" \
+ testing "with -n=$n_v and with$n_o multiple_pids" \
"renice -n $n_v$n_o $proc1 $proc2 $proc3 $proc4 $proc5 &&
fun_nice_val $proc1 $proc2 $proc3 $proc4 $proc5" \
"$nice_val1\n$nice_val2\n$nice_val3\n$nice_val4\n$nice_val5\n" "" ""
@@ -55,7 +55,7 @@ do
nice_val3=$((`fun_nice_val $proc3` + $n_v))
nice_val4=$((`fun_nice_val $proc4` + $n_v))
nice_val5=$((`fun_nice_val $proc5` + $n_v))
- testing "renice with -n=$n_v and with$n_o multiple_pids (some invalid)" \
+ testing "with -n=$n_v and with$n_o multiple_pids (some invalid)" \
"renice -n $n_v$n_o $proc1 $proc2 88888 99999 $proc3 $proc4 $proc5 $arg ||
fun_nice_val $proc1 $proc2 $proc3 $proc4 $proc5" \
"$nice_val1\n$nice_val2\n$nice_val3\n$nice_val4\n$nice_val5\n" "" ""