]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/lei-up.t
net_reader: fix single NNTP article fetch, test ranges
[public-inbox.git] / t / lei-up.t
index 6b34774d79da7f6158ff177308ed26078ee1d86c..8937cfb18e7d03dc71c693bbc4971d08d55a2c98 100644 (file)
@@ -34,6 +34,10 @@ test_lei(sub {
        open $fh, "$ENV{HOME}/b" or xbail "open: $!";
        $uc = do { local $/; <$fh> };
        is($uc, $exp, 'uncompressed both match');
+
+       lei_ok [ 'up', "$ENV{HOME}/b", "--mua=touch $ENV{HOME}/c" ],
+               undef, { run_mode => 0 };
+       ok(-f "$ENV{HOME}/c", '--mua works with single output');
 });
 
 done_testing;