Mercurial > hg-stable
diff tests/test-bisect.t @ 32994:d39639fb840e
tests: adjust quoting to keep Windows happy with recent $PYTHON change
I tried adding quotes to the $PYTHON variable, and also tried converting the
path from the current 'c:/Python/python.exe' form to '/c/python/python.exe', but
neither worked. I'm not sure why one of these needs '\"' around the variable
and the other doesn't.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 20 Jun 2017 23:23:45 -0400 |
parents | 75be14993fda |
children | b11e8c67fb0f |
line wrap: on
line diff
--- a/tests/test-bisect.t Tue Jun 20 16:33:13 2017 -0700 +++ b/tests/test-bisect.t Tue Jun 20 23:23:45 2017 -0400 @@ -463,12 +463,12 @@ $ chmod +x script.py $ hg bisect -r $ hg up -qr tip - $ hg bisect --command "$PYTHON \"$TESTTMP/script.py\" and some parameters" + $ hg bisect --command "\"$PYTHON\" \"$TESTTMP/script.py\" and some parameters" changeset 31:58c80a7c8a40: good abort: cannot bisect (no known bad revisions) [255] $ hg up -qr 0 - $ hg bisect --command "$PYTHON \"$TESTTMP/script.py\" and some parameters" + $ hg bisect --command "\"$PYTHON\" \"$TESTTMP/script.py\" and some parameters" changeset 0:b99c7b9c8e11: bad changeset 15:e7fa0811edb0: good changeset 7:03750880c6b5: good