Blame tests/p_shadow-utils/30-groupadd_tests

Athmane Madjoudj 536354
#!/bin/bash
Athmane Madjoudj 536354
# Author: Iain Douglas <centos@1n6.org.uk>
Athmane Madjoudj 536354
echo "Running $0 group add tests"
Athmane Madjoudj 536354
Athmane Madjoudj 536354
# Delete any info from previous runs, use sed because we haven't yet tested
Athmane Madjoudj 536354
# groupdel
Athmane Madjoudj 536354
sed -i /testgroup/d /etc/group
Athmane Madjoudj 536354
Athmane Madjoudj 536354
echo "Create a new group"
Athmane Madjoudj 536354
groupadd -g 1010 testgroup
Athmane Madjoudj 536354
t_CheckExitStatus $?