chiark / gitweb /
tests/filter: New test framework for generate
[subdirmk.git] / tests / filter / update-expected
1 #!/bin/sh
2 #
3 # Usual approach to updating the expected outputs is
4 #   tests/filter/check
5 #   tests/filter/update-expected
6 #   selectively git-add the things that are right, after inspecting them
7
8 set -e
9 files=$(find tests/filter -name \*.tmp)
10 for f in $files; do cp $f ${f%.tmp}.expected; done