projects
/
xfstests-dev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b6f1679
)
Fix test 128 to work when sh is not the fsgqa login shell.
author
Nathan Scott
<nathans@sgi.com>
Tue, 22 Aug 2006 03:57:18 +0000
(
03:57
+0000)
committer
Nathan Scott
<nathans@sgi.com>
Tue, 22 Aug 2006 03:57:18 +0000
(
03:57
+0000)
Merge of master-melb:xfs-cmds:26837a by kenmcd.
128
patch
|
blob
|
history
diff --git
a/128
b/128
index fa9d2e58dfba70e44460a0c4de6c22651cb0d3b3..24bdac74d6dd7d265918727897af1f9778b004e5 100755
(executable)
--- 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