Skip to content

Commit 8faa1d1

Browse files
committed
tests: do not skip tests upon --scrub failure
The #1586 introduced broken config files: $ mock -r alma-kitten+epel-10-x86_64_v2 --scrub=all ERROR: Could not find included config file: /etc/mock/almalinux-kitten-10-x86_64_v2.cfg It doesn't make sense to skip the testing in this situation.
1 parent 8b477c0 commit 8faa1d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mock/integration-tests/runconfigs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ for i in $configs; do
8181
echo "PASSED: $i"
8282
fi
8383

84-
runcmd "$MOCKCMD -r $name --scrub=all" || die "can not scrub"
84+
runcmd "$MOCKCMD -r $name --scrub=all" || echo >&2 "Can not even --scrub $name!"
8585
done
8686

8787
msg=$(printf "%d configuration failures\n" $fails)

0 commit comments

Comments
 (0)