diff tests/test-bookmarks.t @ 31767:6c800688afe1

tests: quote paths in shell script hooks Without the quoting, MSYS will remove the '\' directory separators, and the repo can't be opened.
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 01 Apr 2017 15:23:26 -0400
parents 0332b8fafd05
children bce5ebe72859
line wrap: on
line diff
--- a/tests/test-bookmarks.t	Sat Apr 01 14:48:39 2017 -0400
+++ b/tests/test-bookmarks.t	Sat Apr 01 15:23:26 2017 -0400
@@ -924,9 +924,9 @@
 
   $ cat > $TESTTMP/checkpending.sh <<EOF
   > echo "@repo"
-  > hg -R $TESTTMP/repo bookmarks
+  > hg -R "$TESTTMP/repo" bookmarks
   > echo "@unrelated"
-  > hg -R $TESTTMP/unrelated bookmarks
+  > hg -R "$TESTTMP/unrelated" bookmarks
   > exit 1 # to avoid adding new bookmark for subsequent tests
   > EOF