Fix out-of-bounds error when incorporating email from stdin
[mmh] / test / tests / inc / test-read-stdin
index d771d32..96c4e4a 100644 (file)
@@ -64,3 +64,13 @@ Incorporating new mail into inbox...
 !
 rm "$f"
 unset f
+
+runandcheck "folder +inc-testfolder" <<!
+inc-testfolder+ has no messages
+!
+
+runandcheck "inc +inc-testfolder -file - < /dev/null" <<!
+Incorporating new mail into inc-testfolder...
+
+inc: no messages incorporated, continuing...
+!