]> git.pond.sub.org Git - empserver/blobdiff - tests/test-common.sh
client: Unbreak standalone build
[empserver] / tests / test-common.sh
index 3f8228e8804ef6a9c8128d27970e955b6dd73835..8dbcb2b27eedb777a7ad020bbe4a52018b5ba19d 100644 (file)
@@ -283,7 +283,8 @@ normalize()
 
 cmp_out1()
 {
-    local i=$1 exp="${2-$testdir/${1##*/}}"
+    local i=$1 master="${2-$testdir/${1##*/}}"
+    local exp="$master"
     local act="sandbox/$i"
     local nrm="sandbox/normalized-${i##*/}"
 
@@ -308,7 +309,7 @@ cmp_out1()
     elif [ "$EMPIRE_CHECK_ACCEPT" ]
     then
        echo "$i CHANGED"
-       cp "$nrm" "$exp"
+       cp "$nrm" "$master"
     else
        failed=y
        echo "$i FAIL"