X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0d593e1ce1a218332af78b83987543756b0c6cf4..ba7b003a620923555458964d6c7fd05ebaadc836:/test/scan/test-scan diff --git a/test/scan/test-scan b/test/scan/test-scan index 00e383cb..269f2b85 100755 --- a/test/scan/test-scan +++ b/test/scan/test-scan @@ -39,6 +39,15 @@ run_prog scan +inbox -width 80 >"$actual" || exit 1 check "$expected" "$actual" +# check full output device, if one exists +# if test -c /dev/full; then +# start_test 'full output device' +# printf 'scan: failed to fflush stdout: No space left on device\n' >"$expected" +# scan last >/dev/full 2>"$actual" && false +# check "$expected" "$actual" +# fi + + # check highlighting start_test 'highlighting' cat >"$expected" <