test-fileset: remove bashism, use test instead of '[[ ]]'

Debian dash complains about it.

  $TESTTMP.sh: 213: $TESTTMP.sh: [[: not found
This commit is contained in:
Yuya Nishihara 2015-06-16 22:47:05 +09:00
parent b5b3409fee
commit 277b13b7cf

View File

@ -226,7 +226,7 @@ saverev property is enough to alter the hashes of the subrepo.
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