#!/bin/bash # Author: Iain Douglas t_Log "Running $0 - Testing sg" sg testshadow "touch /var/tmp/sg" t_CheckExitStatus $? echo "Check sg worked" ls -l /var/tmp/sg | grep -q testshadow t_CheckExitStatus $? rm /var/tmp/sg