Lines Matching refs:atf_check
10 atf_check -s exit:0 ${PW} addgroup test
11 atf_check -s exit:0 ${PW} groupmod test -m root
12 atf_check -s exit:0 -o match:"^test:\*:1001:root$" \
14 atf_check -s exit:0 ${PW} groupmod test -d root
15 atf_check -s exit:0 -o match:"^test:\*:1001:$" \
24 atf_check -s exit:0 ${PW} addgroup test
25 atf_check -s exit:67 -e match:"does not exist" ${PW} groupmod test -m foo
26 atf_check -s exit:0 ${PW} groupmod test -d foo
35 atf_check -s exit:0 -x ${PW} groupadd test
36 atf_check -s exit:0 -x ${PW} groupmod test -l newgroupname
37 atf_check -s exit:65 -e match:"^pw: unknown group" -x ${PW} groupshow test
47 atf_check -s exit:0 -x ${PW} useradd testuser
48 atf_check -s exit:0 -x ${PW} groupadd testgroup
49 atf_check -s exit:0 -x ${PW} groupadd testgroup2
50 atf_check -s exit:0 -x ${PW} usermod testuser -G testgroup
51 atf_check -o inline:"testuser:*:1001:\n" -x ${PW} groupshow testuser
52 atf_check -o inline:"testgroup:*:1002:testuser\n" -x ${PW} groupshow testgroup
53 atf_check -o inline:"testgroup2:*:1003:\n" -x ${PW} groupshow testgroup2
54 atf_check -s exit:0 -x ${PW} usermod testuser -G testgroup2
55 atf_check -o inline:"testuser:*:1001:\n" -x ${PW} groupshow testuser
56 atf_check -o inline:"testgroup:*:1002:\n" -x ${PW} groupshow testgroup
57 atf_check -o inline:"testgroup2:*:1003:testuser\n" -x ${PW} groupshow testgroup2
67 atf_check -s exit:0 -x ${PW} groupadd testgroup
68 atf_check -s exit:0 -x ${PW} groupmod testgroup -g 12345
70 atf_check -o inline:"testgroup:*:12345:\n" -s exit:0 -x grep "^testgroup" ${HOME}/group
77 atf_check -s exit:0 ${PW} groupadd foo
78 atf_check -s exit:0 ${PW} groupmod foo -l bar
79 atf_check -s exit:0 -o match:"^bar:.*" \
88 atf_check -s exit:0 ${PW} useradd $i
91 atf_check -s exit:0 ${PW} groupadd foo -M "user1, user2"
92 atf_check -o inline:"foo:*:1005:user1,user2\n" -s exit:0 \
94 atf_check -s exit:0 ${PW} groupmod foo -m "user3, user4"
95 atf_check -o inline:"foo:*:1005:user1,user2,user3,user4\n" -s exit:0 \
97 atf_check -s exit:0 ${PW} groupmod foo -M "user1, user4"
98 atf_check -o inline:"foo:*:1005:user1,user4\n" -s exit:0 \
101 atf_check -s exit:0 ${PW} groupmod foo -m "user1, user2, user3, user4"
102 atf_check -o inline:"foo:*:1005:user1,user4,user2,user3\n" -s exit:0 \
104 atf_check -s exit:0 ${PW} groupmod foo -d "user1, user3"
105 atf_check -o inline:"foo:*:1005:user4,user2\n" -s exit:0 \