--- a/tests/test-mq
+++ b/tests/test-mq
@@ -165,11 +165,13 @@ cd ..
hg qrefresh
hg qnew -mbar bar
echo foo > foo
-hg add foo
+echo bar > bar
+hg add foo bar
hg qrefresh
hg qpop -a
echo bar > foo
hg qpush -a
+hg st
cat >>$HGRCPATH <<EOF
[diff]
--- a/tests/test-mq.out
+++ b/tests/test-mq.out
@@ -172,6 +172,8 @@ 1 out of 1 hunk ignored -- saving reject
patch failed, unable to continue (try -v)
patch failed, rejects left in working dir
Errors during apply, please fix and refresh bar
+? foo
+? foo.rej
new file
diff --git a/new b/new