openwall / john-tests

Test Suite for John the Ripper
24 stars 15 forks source link

jtrts.pl should remove old tst-.log file before starting next test #70

Closed frank-dittrich closed 8 years ago

frank-dittrich commented 8 years ago
(master)test $ echo "0:00:00:00 Terminating on error, FAKE.c:1" > tst-.log
(master)test $ ./jtrts.pl -stoponerror
-------------------------------------------------------------------------------
- JtR-TestSuite (jtrts). Version 1.13, Dec 21, 2014.  By, Jim Fougeron & others
- Testing:  John the Ripper 1.8.0.6-jumbo-1-1783-gc1451f0+ UbSan [linux-gnu 64-bit AVX-ac]
--------------------------------------------------------------------------------

John Jumbo build detected.

form=dynamic_0                    guesses: 1500 -show=1502 0:00:00:00 DONE : Expected count(s) (1500)(-show1502)  [!!!FAILED1!!!]
Exiting on error. The .pot file tst-.pot contains the found data
The command used to run this test was:

../run/john -ses=tst-  -pot=tst-.pot dynamic_0_tst.in --wordlist=pw.dic -form=dynamic_0
and
../run/john -show   -pot=tst-.pot dynamic_0_tst.in -form=dynamic_0

From tst-.log file:
0:00:00:00 Terminating on error, FAKE.c:1

As you can see, jtrts.pl reported a "Terminating on error" log file entry which was created before that test started.