diff --git a/tests/test-dispatch b/tests/test-dispatch
--- a/tests/test-dispatch
+++ b/tests/test-dispatch
@@ -15,7 +15,7 @@ echo '% [defaults]'
 hg cat a
 cat >> $HGRCPATH <<EOF
 [defaults]
-cat = -v
+cat = -r null
 EOF
 hg cat a
 
diff --git a/tests/test-dispatch.out b/tests/test-dispatch.out
--- a/tests/test-dispatch.out
+++ b/tests/test-dispatch.out
@@ -28,6 +28,6 @@ options:
 use "hg -v help cat" to show global options
 % [defaults]
 a
-a
+a: No such file in rev 000000000000
 % no repo
 abort: There is no Mercurial repository here (.hg not found)!