filter out some host-specific information from pushd/popd.
authorNathan Scott <nathans@sgi.com>
Mon, 23 Jul 2001 22:06:20 +0000 (22:06 +0000)
committerNathan Scott <nathans@sgi.com>
Mon, 23 Jul 2001 22:06:20 +0000 (22:06 +0000)
051
051.out

diff --git a/051 b/051
index c0db911caf959188a433d8f8cb314355d178e504..82d88095a7ac0cf7b2d205921c1b6822ba097076 100755 (executable)
--- a/051
+++ b/051
@@ -304,7 +304,7 @@ echo ""
 echo "=== Recursive change ACL ==="
 rm -fr root
 mkdir root
 echo "=== Recursive change ACL ==="
 rm -fr root
 mkdir root
-pushd root
+pushd root >/dev/null
 # create an arbitrary little tree
 for i in 1 2 3 4 5 6 7 8 9 0
 do
 # create an arbitrary little tree
 for i in 1 2 3 4 5 6 7 8 9 0
 do
@@ -312,7 +312,7 @@ do
        mkdir -p b/c$i/$i
        touch a/$i/mumble
 done
        mkdir -p b/c$i/$i
        touch a/$i/mumble
 done
-popd
+popd >/dev/null
 chown -R 12345.54321 root
 echo "Change #1..."
 $runas -u 12345 -g 54321 -- /bin/chacl -r u::rwx,g::-w-,o::--x root
 chown -R 12345.54321 root
 echo "Change #1..."
 $runas -u 12345 -g 54321 -- /bin/chacl -r u::rwx,g::-w-,o::--x root
diff --git a/051.out b/051.out
index 4c65b8dc05dd4d1d6df202d787af20cc4520a74e..ac68f8f428f9dee06cf8e12d6eebbb5766f7e511 100644 (file)
--- a/051.out
+++ b/051.out
@@ -106,9 +106,6 @@ acldir []
 acldir/file2 []
 
 === Recursive change ACL ===
 acldir/file2 []
 
 === Recursive change ACL ===
-/mnt/test/051.dir1/root /mnt/test/051.dir1
-/mnt/test/051.dir1/root
-/mnt/test/051.dir1
 Change #1...
 root [u::rwx,g::-w-,o::--x]
 root/a [u::rwx,g::-w-,o::--x]
 Change #1...
 root [u::rwx,g::-w-,o::--x]
 root/a [u::rwx,g::-w-,o::--x]