diff --git a/tests/test-pull-after-strip b/tests/test-pull-after-strip
index b1d6c7fe2f81063c2ac3dcfab68e38c381c93f35_dGVzdHMvdGVzdC1wdWxsLWFmdGVyLXN0cmlw..3aa43b60697c9c46ce1691ee2a657b75087e3fc0_dGVzdHMvdGVzdC1wdWxsLWFmdGVyLXN0cmlw 100755
--- a/tests/test-pull-after-strip
+++ b/tests/test-pull-after-strip
@@ -89,7 +89,7 @@
 hg strip tip 2>&1 | grep -v saving
 hg pull -r beta
 hg git-cleanup
-echo % pull works after `hg git-cleanup`
+echo % pull works after \'hg git-cleanup\'
 hg pull -r beta
 hg log --graph
 
diff --git a/tests/test-pull-after-strip.out b/tests/test-pull-after-strip.out
index b1d6c7fe2f81063c2ac3dcfab68e38c381c93f35_dGVzdHMvdGVzdC1wdWxsLWFmdGVyLXN0cmlwLm91dA==..3aa43b60697c9c46ce1691ee2a657b75087e3fc0_dGVzdHMvdGVzdC1wdWxsLWFmdGVyLXN0cmlwLm91dA== 100644
--- a/tests/test-pull-after-strip.out
+++ b/tests/test-pull-after-strip.out
@@ -48,7 +48,7 @@
 importing Git objects into Hg
 abort: you appear to have run strip - please run hg git-cleanup
 git commit map cleaned
-% pull works after git commit map cleaned
+% pull works after 'hg git-cleanup'
 pulling from git://localhost/gitrepo
 importing Hg objects into Git
 Counting objects: 6, done.