tests/test-extdiff
changeset 2932 d77022db1bca
parent 2912 8fd6925ae32f
child 2990 61fcd9fac434
--- a/tests/test-extdiff	Fri Aug 18 10:05:44 2006 -0700
+++ b/tests/test-extdiff	Fri Aug 18 10:24:04 2006 -0700
@@ -8,7 +8,11 @@
 cd a
 echo a > a
 hg add
-hg extdiff -o -Nr
+diff -N /dev/null /dev/null 2> /dev/null
+if [ $? -ne 0 ]; then
+	opt="-p gdiff"
+fi
+hg extdiff -o -Nr $opt
 
 echo "[extdiff]" >> $HGTMP/.hgrc
 echo "cmd.falabala=echo" >> $HGTMP/.hgrc