diff options
author | ngie <ngie@FreeBSD.org> | 2017-03-30 06:20:24 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-03-30 06:20:24 +0000 |
commit | 9e3201421004311eb511297aa3f5b73721d44484 (patch) | |
tree | 6246257382c216e919a3fe0a5507d3c0636080b3 /usr.sbin/pw/tests/pw_groupdel.sh | |
parent | d7afc0b192ce298496f1924a40713cf03caef24a (diff) | |
download | FreeBSD-src-9e3201421004311eb511297aa3f5b73721d44484.zip FreeBSD-src-9e3201421004311eb511297aa3f5b73721d44484.tar.gz |
MFC r315776:
Rename tests from <foo> to <foo>_test to match the FreeBSD test suite
naming scheme
usr.bin/diff/diff_test was renamed to usr.bin/diff/netbsd_diff_test
to avoid collisions with the renamed FreeBSD test.
Diffstat (limited to 'usr.sbin/pw/tests/pw_groupdel.sh')
-rwxr-xr-x | usr.sbin/pw/tests/pw_groupdel.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/usr.sbin/pw/tests/pw_groupdel.sh b/usr.sbin/pw/tests/pw_groupdel.sh deleted file mode 100755 index 88cc0e0..0000000 --- a/usr.sbin/pw/tests/pw_groupdel.sh +++ /dev/null @@ -1,24 +0,0 @@ -# $FreeBSD$ - -# Import helper functions -. $(atf_get_srcdir)/helper_functions.shin - - -# Test to make sure we do not accidentially delete wheel when trying to delete -# an unknown group -atf_test_case group_do_not_delete_wheel_if_group_unknown -group_do_not_delete_wheel_if_group_unknown_head() { - atf_set "descr" "Make sure we do not consider gid 0 an unknown group" -} -group_do_not_delete_wheel_if_group_unknown_body() { - populate_etc_skel - atf_check -s exit:0 -o inline:"wheel:*:0:root\n" -x ${PW} groupshow wheel - atf_check -e inline:"pw: Bad id 'I_do_not_exist': invalid\n" -s exit:64 -x \ - ${PW} groupdel -g I_do_not_exist - atf_check -s exit:0 -o inline:"wheel:*:0:root\n" -x ${PW} groupshow wheel -} - - -atf_init_test_cases() { - atf_add_test_case group_do_not_delete_wheel_if_group_unknown -} |