diff options
author | Guy Harris <guy@alum.mit.edu> | 2020-02-02 11:09:44 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2020-02-02 11:09:44 -0800 |
commit | 6426ddfb52a84b777f4d974de87871f24d8d146f (patch) | |
tree | 8e9651179ca3530025d2601d2afdf8b3297cdb1b /tests | |
parent | 757e793ca521cbfdc4a6104c9a2a920f5538d195 (diff) | |
download | tcpdump-6426ddfb52a84b777f4d974de87871f24d8d146f.tar.gz |
Temporary fix for GitHub issue #820
Create the tests/.passed and tests/.failed files used by test shell
scripts; once we've gotten rid of those scripts, this should no longer
be necessary.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/TESTrun | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/TESTrun b/tests/TESTrun index 702ecbda..d645f3b1 100755 --- a/tests/TESTrun +++ b/tests/TESTrun @@ -41,6 +41,16 @@ 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 |