- Base case:
% echo "www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin" | sed -e '/:80:/i\
auditdistd:*:78:77::0:0:Auditdistd unprivileged user:/var/empty:/usr/sbin/nologin'
auditdistd:*:78:77::0:0:Auditdistd unprivileged user:/var/empty:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
%
- etcupdate testcase:
% sudo kyua test preworld_test
preworld_test:main -> passed [0.171s]
Results file id is usr_tests_usr.sbin_etcupdate.20160730-061144-858882
Results saved to /root/.kyua/store/results.usr_tests_usr.sbin_etcupdate.20160730-061144-858882.db
1/1 passed (0 failed)
%