OSDN Git Service

* tests/lha-test14: `test -e' is unavailable on some systems.
authorarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Fri, 25 Jul 2003 13:02:54 +0000 (13:02 +0000)
committerarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Fri, 25 Jul 2003 13:02:54 +0000 (13:02 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@748 6a8cc165-1e22-0410-a132-eb4e3f353aba

tests/lha-test14

index fd8dd66..3995582 100644 (file)
@@ -22,9 +22,9 @@ test -L test-tmp-1/test-tmp-b &&
 test -L test-tmp-1/test-tmp-c
                                                        check $? $LINENO
 # symbolic link is broken
-test ! -e test-tmp-1/test-tmp-a &&
-test ! -e test-tmp-1/test-tmp-b &&
-test ! -e test-tmp-1/test-tmp-c
+test ! -f test-tmp-1/test-tmp-a &&
+test ! -f test-tmp-1/test-tmp-b &&
+test ! -f test-tmp-1/test-tmp-c
                                                        check $? $LINENO
 
 # symbolic link filename contains '|'
@@ -51,7 +51,7 @@ $lha xw=test-tmp-2 test-tmp-2.lzh 2> test-tmp-stderr
 test -s test-tmp-stderr
                                                        check $? $LINENO
 test -L test-tmp-2/test-tmp-_foo &&
-test ! -e test-tmp-1/test-tmp-_foo
+test ! -f test-tmp-1/test-tmp-_foo
                                                        check $? $LINENO
 # linked filename contains '|'
 touch test-tmp-\|bar &&
@@ -69,7 +69,7 @@ $lha xw=test-tmp-3 test-tmp-3.lzh 2> test-tmp-stderr
 test -s test-tmp-stderr
                                                        check $? $LINENO
 test -L test-tmp-3/test-tmp-foo &&
-test ! -e test-tmp-1/test-tmp-foo
+test ! -f test-tmp-1/test-tmp-foo
                                                        check $? $LINENO
 ;;
 esac