Blame tests/p_setup/group_file_test.sh

Athmane Madjoudj 3592bb
#!/bin/sh
Athmane Madjoudj 3592bb
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj 3592bb
Athmane Madjoudj 3592bb
t_Log "Running $0 - group file sanity check."
Athmane Madjoudj 3592bb
Athmane Madjoudj 3592bb
grep -q 'root:x:0' /etc/group && \
Athmane Madjoudj 3592bb
grep -q 'bin:x:1' /etc/group && \
Athmane Madjoudj 3592bb
grep -q 'daemon:x:2' /etc/group && \
Athmane Madjoudj 3592bb
grep -q 'nobody:x:99' /etc/group 
Athmane Madjoudj 3592bb
Athmane Madjoudj 3592bb
Athmane Madjoudj 3592bb
t_CheckExitStatus $?