Overridden files were accidentally getting reclassified as static.

This is relatively harmless, since we treat them *almost* identically,
except that we print a warning for overridden files to remind you that
something fishy is going on.

Add a test for the actual warning message to ensure it is printed.  (I
don't like tests for specific warning messages, but it was necessary in
this case.)
This commit is contained in:
Avery Pennarun 2019-03-02 02:38:02 -05:00
commit 90989d1ffb
8 changed files with 46 additions and 3 deletions

View file

@ -1,3 +1,3 @@
redo basic/clean
redo basic/clean override/clean
rm -f *~ .*~ *.count t1a overwrite overwrite[123] \
genfile2 genfile.log static.log