Change for testing non-existing file.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 27 Oct 2002 19:39:31 +0000 (19:39 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 27 Oct 2002 19:39:31 +0000 (19:39 +0000)
t/src/test_script

index 2053507fc87a3f00071dd3a38e562ce61d5d7754..7ca4fc354a86cb3e36ebda3f603b77cf0fd4b34d 100755 (executable)
@@ -33,7 +33,10 @@ then
   srcdir=.
   options=$extra_options
 else
-  testfile=$srcdir/input/$file
+  case $file in
+    ./*) testfile=$file ;;
+    *)   testfile=$srcdir/input/$file ;;
+  esac
   options="$options $extra_options"
 fi