diff tests/test-phases.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 b7cef987356d
children 24f55686a63d
line wrap: on
line diff
--- a/tests/test-phases.t	Sat Apr 01 14:48:39 2017 -0400
+++ b/tests/test-phases.t	Sat Apr 01 15:23:26 2017 -0400
@@ -609,9 +609,9 @@
 
   $ cat > $TESTTMP/checkpending.sh <<EOF
   > echo '@initialrepo'
-  > hg -R $TESTTMP/initialrepo phase 7
+  > hg -R "$TESTTMP/initialrepo" phase 7
   > echo '@push-dest'
-  > hg -R $TESTTMP/push-dest phase 6
+  > hg -R "$TESTTMP/push-dest" phase 6
   > exit 1 # to avoid changing phase for subsequent tests
   > EOF
   $ cd ../initialrepo