test-patchbomb: ensure hg email write to stdout
With -n/--test and if the PAGER environment variable is set, 'hg email' send its
output to the user defined pager.
If the pager capture the output, the test is unable verify it.
Unsetting the PAGER environment variable force 'hg email' to write to stdout.
--- a/tests/test-patchbomb.t Wed Feb 10 22:44:29 2016 +0900
+++ b/tests/test-patchbomb.t Sun Feb 07 09:36:09 2016 +0100
@@ -28,6 +28,9 @@
$ echo "[extensions]" >> $HGRCPATH
$ echo "patchbomb=" >> $HGRCPATH
+Ensure hg email output is sent to stdout
+ $ unset PAGER
+
$ hg init t
$ cd t
$ echo a > a