Commit Diff


commit - b416585cf047654c6eb266874b5465a6f67861a7
commit + 3941b73ad0f814116305dcbf7e2cd1cba1973dd5
blob - a6e70b9a5b2a6b484e22efff023550a2d2ceca8e
blob + 61ec8447fb8409a99d4916fd8fd5da60068a7a18
--- regress/cmdline/common.sh
+++ regress/cmdline/common.sh
@@ -95,6 +95,10 @@ function test_done
 	if [ "$result" == "0" ]; then
 		test_cleanup "$testroot"
 		echo "ok"
+	elif echo "$result" | grep -q "^xfail"; then
+		# expected test failure; test reproduces an unfixed bug
+		test_cleanup "$testroot"
+		echo "$result"
 	else
 		echo "test failed; leaving test data in $testroot"
 	fi