Lines Matching refs:HOME
12 grep "^test:.*" $HOME/master.passwd
21 atf_check -s exit:1 -o empty grep "^test:.*" $HOME/master.passwd
31 grep '^test:.*:Test User,work!,123,user@example.com:' $HOME/master.passwd
41 atf_check -s exit:1 -o empty grep "^test:.*" $HOME/master.passwd
52 grep "^test:.*:Test User,work,123:456,456:" $HOME/master.passwd
62 atf_check -s exit:1 -o empty grep "^test:.*" $HOME/master.passwd
183 atf_check -s exit:1 -o empty grep "^test user:.*" $HOME/master.passwd
187 atf_check -s exit:1 -o empty grep "^test user:.*" $HOME/master.passwd
199 atf_check -s exit:1 -o empty grep "^${user_name}:.*" $HOME/master.passwd
203 atf_check -s exit:1 -o empty grep "^${user_name}:.*" $HOME/master.passwd
208 atf_check -s exit:1 -o empty grep "^${user_name}:.*" $HOME/master.passwd
212 atf_check -s exit:1 -o empty grep "^${user_name}:.*" $HOME/master.passwd
222 -s exit:0 grep "^foo" ${HOME}/master.passwd
227 -s exit:0 grep "^foo" ${HOME}/master.passwd
232 -s exit:0 grep "^foo" ${HOME}/master.passwd
248 touch ${HOME}/master.passwd
249 touch ${HOME}/group
251 pwd_mkdb -p -d ${HOME} ${HOME}/master.passwd || \
254 echo "foo1:*:1002" >> ${HOME}/master.passwd
260 touch ${HOME}/master.passwd
261 touch ${HOME}/group
263 pwd_mkdb -p -d ${HOME} ${HOME}/master.passwd || \
277 passhash=`awk -F ':' '/^foo:/ {print $2}' $HOME/master.passwd`
288 test -d ${HOME}/home || atf_fail "Home parent directory not created"
289 test -d ${HOME}/home/bar || atf_fail "Directory not created"
291 test -d ${HOME}/home/bar || atf_fail "Directory removed"
294 [ ! -d ${HOME}/home/bar ] || atf_fail "Directory not removed"
301 mkdir ${HOME}/usr
303 [ ! -d ${HOME}/usr/home ] || atf_fail "/usr/home created"
304 test -d ${HOME}/home || atf_fail "/home directory not created"
312 test -d ${HOME}/a/b/c || atf_fail "intermediate directories not created"
313 test -d ${HOME}/a/b/c/foo || atf_fail "user directory not created"
321 atf_check grep -q '^foo:' $HOME/etc/master.passwd
322 atf_check test -d ${HOME}/home/foo
325 $HOME/etc/master.passwd
327 stat -f '%u %g' ${HOME}/home/foo
329 stat -f '%p' ${HOME}/home/foo
336 mkdir ${HOME}/skel
337 echo "a" > ${HOME}/skel/.a
338 echo "b" > ${HOME}/skel/b
339 mkdir ${HOME}/skel/c
340 mkdir ${HOME}/skel/c/d
341 mkdir ${HOME}/skel/dot.plop
342 echo "c" > ${HOME}/skel/c/d/dot.c
343 mkdir ${HOME}/home
344 ln -sf /nonexistent ${HOME}/skel/c/foo
346 test -d ${HOME}/home/foo || atf_fail "Directory not created"
347 test -f ${HOME}/home/foo/.a || atf_fail "File not created"
348 atf_check -o file:${HOME}/skel/.a -s exit:0 cat ${HOME}/home/foo/.a
349 atf_check -o file:${HOME}/skel/b -s exit:0 cat ${HOME}/home/foo/b
350 test -d ${HOME}/home/foo/c || atf_fail "Dotted directory in skel not copied"
351 test -d ${HOME}/home/foo/.plop || atf_fail "Directory in skell not created"
352 atf_check -o inline:"/nonexistent\n" -s ignore readlink -f ${HOME}/home/foo/c/foo
353 atf_check -o file:${HOME}/skel/c/d/dot.c -s exit:0 cat ${HOME}/home/foo/c/d/.c
404 atf_check -s exit:0 -o match:"^foo:\*" grep "^foo:" $HOME/master.passwd
412 atf_check -s exit:0 -o match:"^foo::" grep "^foo:" $HOME/master.passwd
420 passhash=`awk -F ':' '/^foo:/ {print $2}' $HOME/master.passwd`
429 passhash=`awk -F ':' '/^foo:/ {print $2}' $HOME/master.passwd`
439 ${PW} useradd -D -C ${HOME}/pw.conf \
443 grep "^m.*id =" ${HOME}/pw.conf
445 ${PW} useradd foo -C ${HOME}/pw.conf
452 echo 'defaultgroup = "plop"' > ${HOME}/pw.conf
456 ${PW} useradd foo -C ${HOME}/pw.conf
469 grep defaultpasswd ${HOME}/pw.conf
472 grep defaultpasswd ${HOME}/pw.conf
475 grep defaultpasswd ${HOME}/pw.conf
478 grep defaultpasswd ${HOME}/pw.conf
490 sh -c "grep testuser ${HOME}/group | wc -l"
498 echo "testgroup:*:4242:testuser" >> ${HOME}/group
501 grep testuser ${HOME}/group