tests: Make "make check-accept" accept new files
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
e823a4f055
commit
ddefd7173e
1 changed files with 3 additions and 2 deletions
|
@ -283,7 +283,8 @@ normalize()
|
||||||
|
|
||||||
cmp_out1()
|
cmp_out1()
|
||||||
{
|
{
|
||||||
local i=$1 exp="${2-$testdir/${1##*/}}"
|
local i=$1 master="${2-$testdir/${1##*/}}"
|
||||||
|
local exp="$master"
|
||||||
local act="sandbox/$i"
|
local act="sandbox/$i"
|
||||||
local nrm="sandbox/normalized-${i##*/}"
|
local nrm="sandbox/normalized-${i##*/}"
|
||||||
|
|
||||||
|
@ -308,7 +309,7 @@ cmp_out1()
|
||||||
elif [ "$EMPIRE_CHECK_ACCEPT" ]
|
elif [ "$EMPIRE_CHECK_ACCEPT" ]
|
||||||
then
|
then
|
||||||
echo "$i CHANGED"
|
echo "$i CHANGED"
|
||||||
cp "$nrm" "$exp"
|
cp "$nrm" "$master"
|
||||||
else
|
else
|
||||||
failed=y
|
failed=y
|
||||||
echo "$i FAIL"
|
echo "$i FAIL"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue