From: Nathan Scott Date: Tue, 22 Aug 2006 03:57:18 +0000 (+0000) Subject: Fix test 128 to work when sh is not the fsgqa login shell. X-Git-Tag: v1.1.0~593 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=5e942e53eee05b863287dea583a39d1b20984ae1 Fix test 128 to work when sh is not the fsgqa login shell. Merge of master-melb:xfs-cmds:26837a by kenmcd. --- diff --git a/128 b/128 index fa9d2e58..24bdac74 100755 --- a/128 +++ b/128 @@ -45,11 +45,11 @@ cp `which ls` $SCRATCH_MNT chmod 700 $SCRATCH_MNT/nosuid chmod 4755 $SCRATCH_MNT/ls -su - $qa_user -c "$SCRATCH_MNT/ls $SCRATCH_MNT/nosuid >/dev/null 2>&1" +su -s/bin/sh - $qa_user -c "$SCRATCH_MNT/ls $SCRATCH_MNT/nosuid >/dev/null 2>&1" if [ $? -eq 0 ] ; then echo "Error: we shouldn't be able to ls the directory" fi umount $SCRATCH_DEV status=0 -exit +exit