diff options
author | Rob Landley <rob@landley.net> | 2016-03-02 15:10:24 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-03-02 15:10:24 -0600 |
commit | eb830728b12152702c3852d079ad5c8a7f6e709b (patch) | |
tree | 23212ca519113c108d914d9cdd17caf4b6f84021 /tests/groupdel.test | |
parent | b69e1efb2763f99566f451189b5e31f3a05c2e32 (diff) | |
download | toybox-eb830728b12152702c3852d079ad5c8a7f6e709b.tar.gz |
Print command name at start of each test.
Diffstat (limited to 'tests/groupdel.test')
-rwxr-xr-x | tests/groupdel.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/groupdel.test b/tests/groupdel.test index d46db53c..6abb4bfc 100755 --- a/tests/groupdel.test +++ b/tests/groupdel.test @@ -10,18 +10,18 @@ arg="&>/dev/null" #testing "name" "command" "result" "infile" "stdin" -testing "groupadd group_name (text)" "groupadd toyTestGroup && +testing "groupdel group_name (text)" "groupadd toyTestGroup && grep '^toyTestGroup:' /etc/group $arg && groupdel toyTestGroup $arg && echo 'yes'" "yes\n" "" "" -testing "groupadd group_name (alphanumeric)" "groupadd toy1Test2Group3 && +testing "groupdel group_name (alphanumeric)" "groupadd toy1Test2Group3 && grep '^toy1Test2Group3:' /etc/group $arg && groupdel toy1Test2Group3 $arg && echo 'yes'" "yes\n" "" "" -testing "groupadd group_name (numeric)" "groupadd 987654321 && +testing "groupdel group_name (numeric)" "groupadd 987654321 && grep '^987654321:' /etc/group $arg && groupdel 987654321 $arg && echo 'yes'" "yes\n" "" "" -testing "groupadd group_name (with ./-)" "groupadd toy.1Test-2Group.3 && +testing "groupdel group_name (with ./-)" "groupadd toy.1Test-2Group.3 && grep '^toy.1Test-2Group.3:' /etc/group $arg && groupdel toy.1Test-2Group.3 $arg && echo 'yes'" "yes\n" "" "" -testing "groupadd group_name with group_id" "groupadd -g 49999 toyTestGroup && +testing "groupdel group_name with group_id" "groupadd -g 49999 toyTestGroup && grep '^toyTestGroup:' /etc/group $arg && groupdel toyTestGroup $arg && echo 'yes'" "yes\n" "" "" |