]> The Tcpdump Group git mirrors - tcpdump/blobdiff - tests/TESTrun.sh
look for cores and put them into the correct directory
[tcpdump] / tests / TESTrun.sh
index 075d357a681c8a8d543796389bde71b3d905be7f..79fd807b0dc77825e2b9831f26ae0d9a39ccca4d 100755 (executable)
@@ -57,8 +57,8 @@ runSimpleTests()
       failed=`expr $failed + 1`
       echo $failed >${failedfile}
     fi
-    if [ -d COREFILES ]; then
-        if [ -f core ]; then mv core COREFILES/$name.core; fi
+    if [ -d tests/COREFILES ]; then
+        if [ -f core ]; then mv core tests/COREFILES/$name.core; fi
     fi)
     [ "$only" != "" -a "$name" = "$only" ] && break
   done