Mercurial > hg
changeset 25587:49fb24f72747
test-fileset: remove bashism, use test instead of '[[ ]]'
Debian dash complains about it.
$TESTTMP.sh: 213: $TESTTMP.sh: [[: not found
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 16 Jun 2015 22:47:05 +0900 |
parents | e7455316261d |
children | b40071379c5b |
files | tests/test-fileset.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-fileset.t Wed Jun 03 18:30:25 2015 +0800 +++ b/tests/test-fileset.t Tue Jun 16 22:47:05 2015 +0900 @@ -226,7 +226,7 @@ b $ oldnode=`hg log -r tip -T "{node}\n"` $ newnode=`hg log -R ../converted -r tip -T "{node}\n"` - $ [[ "$oldnode" != "$newnode" ]] || echo "nothing changed" + $ [ "$oldnode" != "$newnode" ] || echo "nothing changed" Test with a revision