Blame tests/p_shadow-utils/39-sg_tests

Athmane Madjoudj 536354
#!/bin/bash
Athmane Madjoudj 536354
# Author: Iain Douglas <centos@1n6.org.uk>
Athmane Madjoudj 536354
echo "Running $0"
Athmane Madjoudj 536354
echo "Testing sg"
Athmane Madjoudj 536354
sg testshadow "touch /var/tmp/sg"
Athmane Madjoudj 536354
t_CheckExitStatus $?
Athmane Madjoudj 536354
echo "Check sg worked"
Athmane Madjoudj 536354
ls -l /var/tmp/sg | grep -q testshadow
Athmane Madjoudj 536354
t_CheckExitStatus $?
Athmane Madjoudj 536354
rm /var/tmp/sg