(I was hoping re-sanitize.sh was a script to update the reference output,
little did I know)

It seems we've ended up with several different ways of checking a test
result:

sanitize.sh
 - run from swantest
 - leaves empty diffs when a test passes :-(
 - doesn't check for crashes and assert failures :-(

re-sanitize.sh
 - run from pluto-testlist-scan.sh (nice script)
 - doesn't leave empty diffs :-)
 - doesn't check for crashes and assert failures :-(

swantest
 - checks for for crashes and assert failures

Does anyone see a problem with me cherry-picking the best bits:

- does the sanitize
- doesn't leave empty diffs
- does check for core files and assertion failures (those messages can be
put into the diff)
- and exits with 1 if the test doesn't appear to have passed

perhaps called postmortem.sh

Andrew
_______________________________________________
Swan-dev mailing list
Swan-dev@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-dev

Reply via email to