diff: respect MIN_BLOCK_LENGTH for last block
[gitweb.git] / t / t9001-send-email.sh
index 15128c755a4eb820b9735e1a94616a694b1b8054..d1e4e8ad19f3d3e005e177b98e4eee16f4ef1461 100755 (executable)
@@ -1953,4 +1953,12 @@ test_expect_success $PREREQ 'invoke hook' '
        )
 '
 
+test_expect_success $PREREQ 'test that send-email works outside a repo' '
+       nongit git send-email \
+               --from="Example <nobody@example.com>" \
+               --to=nobody@example.com \
+               --smtp-server="$(pwd)/fake.sendmail" \
+               "$(pwd)/0001-add-master.patch"
+'
+
 test_done