Blame tests/p_shadow-utils/34-groupmod_tests

Athmane Madjoudj 536354
#!/bin/bash
Athmane Madjoudj 536354
# Author: Iain Douglas <centos@1n6.org.uk>
Athmane Madjoudj 536354
Christoph Galuschka 06c925
t_Log "Running $0"
Athmane Madjoudj 536354
Athmane Madjoudj 536354
# Check that the testgroup exists with GID 1010
Athmane Madjoudj 536354
grep -q "testgroup:x:1010:testshadow" /etc/group || { t_Log "FAIL Test group doesn't exist"; exit $FAIL; }
Athmane Madjoudj 536354
Athmane Madjoudj 536354
echo "Changing GID for group testgroup to 1011"
Athmane Madjoudj 536354
groupmod -g 1011 testgroup
Athmane Madjoudj 536354
t_CheckExitStatus $?