--- a/tests/test-locate.out
+++ b/tests/test-locate.out
@@ -25,6 +25,8 @@ hg locate a
hg locate NONEXISTENT
+hg locate relpath:NONEXISTENT
+
hg locate
b
dir.h/foo
@@ -38,6 +40,8 @@ a
hg locate -r 0 NONEXISTENT
+hg locate -r 0 relpath:NONEXISTENT
+
hg locate -r 0
a
b