##// END OF EJS Templates
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan -
r27658:a6eddc8b default
parent child Browse files
Show More
@@ -2721,6 +2721,18 b' dest#branch URIs:'
2721 2721 +d
2722 2722
2723 2723
2724 Set up a fake sendmail program
2725
2726 $ cat > pretendmail.sh << 'EOF'
2727 > #!/bin/sh
2728 > echo "$@"
2729 > cat
2730 > EOF
2731 $ chmod +x pretendmail.sh
2732
2733 $ echo '[email]' >> $HGRCPATH
2734 $ echo "method=`pwd`/pretendmail.sh" >> $HGRCPATH
2735
2724 2736 Test introduction configuration
2725 2737 =================================
2726 2738
@@ -2806,15 +2818,13 b' bad value setting'
2806 2818
2807 2819 single rev
2808 2820
2809 $ hg email --date '1980-1-1 0:1' -n -t foo -s test -r '10'
2821 $ hg email --date '1980-1-1 0:1' -v -t foo -s test -r '10'
2810 2822 From [test]: test
2811 2823 this patch series consists of 1 patches.
2812 2824
2813 2825 warning: invalid patchbomb.intro value "mpmwearaclownnose"
2814 2826 (should be one of always, never, auto)
2815 Cc:
2816
2817 displaying [PATCH] test ...
2827 -f test foo
2818 2828 Content-Type: text/plain; charset="us-ascii"
2819 2829 MIME-Version: 1.0
2820 2830 Content-Transfer-Encoding: 7bit
@@ -2844,7 +2854,11 b' single rev'
2844 2854 @@ -1,1 +1,2 @@
2845 2855 d
2846 2856 +d
2847
2857 Cc:
2858
2859 sending [PATCH] test ...
2860 sending mail: $TESTTMP/t2/pretendmail.sh -f test foo
2861
2848 2862 Test pull url header
2849 2863 =================================
2850 2864
General Comments 0
You need to be logged in to leave comments. Login now