Closed by commit rHG36444dddaeb4: tests: replace [[]] bashism with portable []
invocation (authored by durin42).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7596?vs=18568&id=18579
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7596/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7596
AFFECTED FILES
tests/test-amend.t
CHANGE DETAILS
diff --git a/tests/test-amend.t b/tests/test-amend.t
--- a/tests/test-amend.t
+++ b/tests/test-amend.t
@@ -493,7 +493,7 @@
$ sleep 1
$ echo delta >> foo
$ sleep 3
- $ if (hg diff -c . | grep 'delta' >/dev/null) || [[ -n "$(hg status)" ]];
then
+ $ if (hg diff -c . | grep 'delta' >/dev/null) || [ -n "$(hg status)" ]; then
> echo "OK."
> else
> echo "Bug detected. 'delta' is not part of the commit OR the wdir"
To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel