##// END OF EJS Templates
tests: stabilize test-split.t for Windows...
Matt Harbison -
r42058:0cbcb3e1 default
parent child Browse files
Show More
@@ -718,8 +718,12 b' Testing the case in split when commiting'
718 $ echo foo > foo
718 $ echo foo > foo
719 $ hg add foo
719 $ hg add foo
720 $ hg ci -m "initial"
720 $ hg ci -m "initial"
721 $ chmod +x foo
721 $ hg import -q --bypass -m "make executable" - <<EOF
722 $ hg ci -m "make executable"
722 > diff --git a/foo b/foo
723 > old mode 100644
724 > new mode 100755
725 > EOF
726 $ hg up -q
723
727
724 $ hg glog
728 $ hg glog
725 @ 1:3a2125f0f4cb make executable
729 @ 1:3a2125f0f4cb make executable
@@ -727,6 +731,7 b' Testing the case in split when commiting'
727 o 0:51f273a58d82 initial
731 o 0:51f273a58d82 initial
728
732
729
733
734 #if no-windows
730 $ printf 'y\ny\ny\n' | hg split
735 $ printf 'y\ny\ny\n' | hg split
731 diff --git a/foo b/foo
736 diff --git a/foo b/foo
732 old mode 100644
737 old mode 100644
@@ -751,3 +756,11 b' Testing the case in split when commiting'
751 new mode 100755
756 new mode 100755
752 examine changes to 'foo'? [Ynesfdaq?] abort: response expected
757 examine changes to 'foo'? [Ynesfdaq?] abort: response expected
753 [255]
758 [255]
759 #else
760
761 TODO: Fix this on Windows. See issue 2020 and 5883
762
763 $ printf 'y\ny\ny\n' | hg split
764 abort: cannot split an empty revision
765 [255]
766 #endif
General Comments 0
You need to be logged in to leave comments. Login now