Fixed sun bug. test -e does not exist in Solaris.
authorEric Shook <eshook2@uiuc.edu>
Tue, 29 Jul 2008 15:17:11 +0000 (15:17 +0000)
committerEric Shook <eshook2@uiuc.edu>
Tue, 29 Jul 2008 15:17:11 +0000 (15:17 +0000)
tests/util/Makefile

index 636af2495512af9b9eb313472761e1b805955887..12c2b001a182528ca7cc35f1475db349c9202589 100644 (file)
@@ -13,7 +13,7 @@ check.o: check.C
 test: check
        ./charmrun +p1 check $(TESTOPTS)
        #The line below tests if MACHINE_DEBUG is enabled in machine.h and fails if it is set
-       if test -e "debugLog.0"; then echo "MACHINE_DEBUG is enabled"; false; fi
+       if test -f "debugLog.0"; then echo "MACHINE_DEBUG is enabled"; false; fi
 
 clean:
        rm -f conv-host *.o *.bak *.log check.sts *~ charmrun