Check also for core file.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Fri, 16 Aug 2002 18:39:23 +0000 (18:39 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Fri, 16 Aug 2002 18:39:23 +0000 (18:39 +0000)
t/test_script

index c5b68159aee3fa4d2959f849bebf25192b536337..ae0aea24f9c7b61c6b41c40bf692b311262b789e 100755 (executable)
@@ -37,10 +37,11 @@ cd $srcdir/..
 export GCONV_PATH=./ansel:$GCONV_PATH
 export LD_LIBRARY_PATH=$builddir/../gedcom/.libs:$LD_LIBRARY_PATH
 cp $builddir/../ansel/.libs/ANSI_Z39.47.so ansel
+rm -f core
 $builddir/testgedcom $options $testfile
 result=$?
 rm ansel/ANSI_Z39.47.so
-if [ "$result" -eq "$expected_result" ]
+if [ "$result" -eq "$expected_result" -a ! -r core ]
 then
   exit 0
 else