MFC: r197352

The transition to Subversion allows us to rename files without
repo-copy hacks.
Remove the test-number prefix from the name of the output files,
so that new test cases can be easily added.
This commit is contained in:
Marius Strobl 2010-05-21 19:09:41 +00:00
parent c0bdbd5fba
commit da7a72d964
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=208395
124 changed files with 7 additions and 9 deletions

View File

@ -37,11 +37,9 @@
#
# The directory regress.test.out contains the expected test results
#
# These are the regression tests created during the development of the
# BSD sed. The reference file naming scheme used in this script can't
# handle gracefully the insertion of new tests between existing ones.
# Therefore, either use the new m4-based regress.t framework, or add
# tests after the last existing test.
# These are the regression tests mostly created during the development
# of the BSD sed. Each test should have a unique mark name, which is
# used for naming the corresponding file in regress.multitest.out.
main()
{
@ -88,11 +86,11 @@ result()
else
TODO=''
fi
if ! [ -r $REGRESS/${MARK}_${TESTNAME} ] ; then
echo "Seeding $REGRESS/${MARK}_${TESTNAME} with current result" 1>&2
cp current.out $REGRESS/${MARK}_${TESTNAME}
if ! [ -r $REGRESS/${TESTNAME} ] ; then
echo "Seeding $REGRESS/${TESTNAME} with current result" 1>&2
cp current.out $REGRESS/${TESTNAME}
fi
if diff -c $REGRESS/${MARK}_${TESTNAME} current.out ; then
if diff -c $REGRESS/${TESTNAME} current.out ; then
echo "ok $MARK $TESTNAME # $TODO$COMMENT"
else
echo "not ok $MARK $TESTNAME # $TODO$COMMENT"

Some files were not shown because too many files have changed in this diff Show More