Lines Matching refs:PW
11 atf_check -s exit:67 -e match:"no such user" ${PW} usermod test
12 atf_check -s exit:0 ${PW} useradd test
13 atf_check -s exit:0 ${PW} usermod test
23 atf_check -s exit:67 -e match:"no such user" ${PW} usermod test -N
24 atf_check -s exit:0 ${PW} useradd test
25 atf_check -s exit:0 -o match:"^test:.*" ${PW} usermod test -N
35 atf_check -s exit:0 ${PW} useradd test -c "Test User,home,123,456"
36 atf_check -s exit:0 ${PW} usermod test -c "Test User,work,123,456"
46 atf_check -s exit:0 ${PW} useradd test -c "Test User,home,123,456"
48 ${PW} usermod test -c "Test User,work,123,456" -N
58 atf_check -s exit:0 ${PW} useradd test
60 ${PW} usermod test -c "Test User,work,123:456,456"
72 atf_check -s exit:0 ${PW} useradd test
74 ${PW} usermod test -c "Test User,work,123:456,456" -N
86 atf_check -s exit:0 ${PW} useradd foo
87 atf_check -s exit:0 ${PW} usermod foo -l "bar"
97 atf_check -s exit:0 ${PW} useradd foo
98 atf_check -s exit:0 -o match:"^bar:.*" ${PW} usermod foo -l "bar" -N
107 atf_check -s exit:0 ${PW} groupadd test1
108 atf_check -s exit:0 ${PW} groupadd test2
109 atf_check -s exit:0 ${PW} useradd foo -G test1,test2
110 atf_check -o match:"foo" -s exit:0 ${PW} groupshow test1
111 atf_check -o match:"foo" -s exit:0 ${PW} groupshow test2
112 atf_check -s exit:0 ${PW} usermod foo -l bar
113 atf_check -o match:"bar" -s exit:0 ${PW} groupshow test1
114 atf_check -o match:"bar" -s exit:0 ${PW} groupshow test2
121 atf_check -s exit:0 ${PW} groupadd test1
122 atf_check -s exit:0 ${PW} groupadd test2
123 atf_check -s exit:0 ${PW} groupadd test3
124 atf_check -s exit:0 ${PW} groupadd test4
125 atf_check -s exit:0 ${PW} useradd foo -G test1,test2
126 atf_check -o match:"foo" -s exit:0 ${PW} groupshow test1
127 atf_check -o match:"foo" -s exit:0 ${PW} groupshow test2
128 atf_check -s exit:0 ${PW} usermod foo -G test3,test4
131 atf_check -s exit:0 ${PW} usermod foo -G ""
140 atf_check -s exit:0 ${PW} useradd foo
141 atf_check -s exit:0 ${PW} usermod foo -l bar
150 atf_check -s exit:0 ${PW} useradd foo
151 atf_check -s exit:64 -e match:"too long" ${PW} usermod foo \
159 atf_check -s exit:0 ${PW} useradd foo
160 atf_check -s exit:0 ${PW} usermod foo -h 0 <<- EOF
166 atf_check -s exit:0 ${PW} usermod foo -h - <<- EOF
172 -s exit:64 ${PW} usermod foo -h a <<- EOF
181 atf_check -s exit:0 ${PW} useradd foo
182 atf_check -s exit:0 ${PW} usermod foo -H 0 <<- EOF
188 ${PW} usermod foo -H -
206 atf_check -s exit:0 ${PW} useradd foo
207 atf_check -s exit:0 ${PW} usermod foo -u 5000
214 atf_check -s exit:0 ${PW} useradd foo
216 ${PW} usermod foo -w invalid_value
223 atf_check -s exit:0 ${PW} useradd foo
224 atf_check -s exit:0 ${PW} usermod foo -w no
232 atf_check -s exit:0 ${PW} useradd foo
233 atf_check -s exit:0 ${PW} usermod foo -w none
241 atf_check -s exit:0 ${PW} useradd foo
242 password=`${PW} usermod foo -w random | cat`
252 atf_check -s exit:0 ${PW} useradd foo
253 atf_check -s exit:0 ${PW} usermod foo -w yes