summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Richardson <mcr@sandelman.ca>2020-02-03 03:55:26 +0100
committerDenis Ovsienko <denis@ovsienko.info>2020-02-04 22:19:17 +0000
commitb82970cc33a8faad2288bd452f1d31d0498f8e65 (patch)
tree0c8705f0fc0933656843e04ce70b5de7808af255
parente6856085b130c91a4a0d99383acce3f0ab20d6c9 (diff)
downloadtcpdump-b82970cc33a8faad2288bd452f1d31d0498f8e65.tar.gz
removed .passwd/.failed processing
-rwxr-xr-xtests/TESTrun21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/TESTrun b/tests/TESTrun
index 97a9ec49..029f28f8 100755
--- a/tests/TESTrun
+++ b/tests/TESTrun
@@ -41,15 +41,6 @@ require 'testfuncs.pm';
$passedcount = 0;
$failedcount = 0;
#
-# XXX - create files used by shell scripts; we can remove this once we
-# no longer use shell scripts in tests.
-#
-open(PASSEDCOUNT, ">", "tests/.passed");
-print PASSEDCOUNT "${passedcount}\n";
-close(PASSEDCOUNT);
-open(FAILEDCOUNT, ">", "tests/.failed");
-print FAILEDCOUNT "${failedcount}\n";
-close(FAILEDCOUNT);
my $failureoutput=$origdir . "/tests/failure-outputs.txt";
# truncate the output file
@@ -204,18 +195,6 @@ if(scalar(@ARGV) == 0) {
runSimpleTests($ARGV[0]);
}
-#
-# XXX - read files used by shell scripts, and add the passed and failed
-# counts reported therein to our own passed and failed counts; we can
-# remove this once we no longer use shell scripts in tests.
-#
-open(PASSEDCOUNT, "<", "tests/.passed");
-$passedcount += <PASSEDCOUNT>;
-close(PASSEDCOUNT);
-open(FAILEDCOUNT, ">", "tests/.failed");
-$failedcount += <FAILEDCOUNT>;
-close(FAILEDCOUNT);
-
# exit with number of failing tests.
print "------------------------------------------------\n";
printf("%4u tests failed\n",$failedcount);