test-fileset: remove bashism, use test instead of '[[ ]]'
Debian dash complains about it.
$TESTTMP.sh: 213: $TESTTMP.sh: [[: not found
--- 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