]> The Tcpdump Group git mirrors - tcpdump/commitdiff
look for cores and put them into the correct directory
authorMichael Richardson <[email protected]>
Tue, 17 Sep 2019 20:02:28 +0000 (16:02 -0400)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 24 Sep 2019 12:12:09 +0000 (14:12 +0200)
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