cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/src/sanity.sh [cvs1-11-x-branch]


From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/src/sanity.sh [cvs1-11-x-branch]
Date: Mon, 19 Sep 2005 10:08:16 -0400

Index: ccvs/src/sanity.sh
diff -u ccvs/src/sanity.sh:1.752.2.180 ccvs/src/sanity.sh:1.752.2.181
--- ccvs/src/sanity.sh:1.752.2.180      Thu Sep 15 19:40:25 2005
+++ ccvs/src/sanity.sh  Mon Sep 19 14:08:09 2005
@@ -29171,12 +29171,8 @@
     #
     # Test our exit directory so that tests that exit in an incorrect directory
     # are noticed during single test runs.
-    #
-    # Not sure why `pwd' sometimes resolves symlinks and sometimes doesn't on
-    # Solaris 9, but it does.  Use /bin/pwd to get the canonical directory
-    # name.
-    if test "x`cd $TESTDIR && /bin/pwd`" != "x`/bin/pwd`"; then
-           fail "cleanup: PWD != TESTDIR (\``/bin/pwd`' != \``cd $TESTDIR && 
/bin/pwd`')"
+    if test "x$TESTDIR" != "x`pwd`"; then
+           fail "cleanup: PWD != TESTDIR (\``pwd`' != \`$TESTDIR')"
     fi
 
     # Reset val-tags to a pristine state.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]