]> diplodocus.org Git - nmh/commitdiff
Commented out full output device test in test-scan.
authorDavid Levine <levinedl@acm.org>
Wed, 24 Apr 2019 23:10:02 +0000 (19:10 -0400)
committerDavid Levine <levinedl@acm.org>
Wed, 24 Apr 2019 23:10:02 +0000 (19:10 -0400)
Reverts commit d9b33232b.  It would pass on platforms that don't
have /dev/full, but was expected to fail.

Makefile.am
test/scan/test-scan

index 6a1c2dc1cecee471de02d709b4b84233834a3e4c..01359d39d6595a9bccb72d552a86ef8b84e42cf6 100644 (file)
@@ -102,6 +102,7 @@ TESTS = \
     test/mhlist/test-mhlist \
     test/mhmail/test-mhmail \
     test/mhparam/test-mhparam \
     test/mhlist/test-mhlist \
     test/mhmail/test-mhmail \
     test/mhparam/test-mhparam \
+    test/mhparam/test-profile \
     test/mhpath/test-mhpath \
     test/mhshow/test-binary \
     test/mhshow/test-charset \
     test/mhpath/test-mhpath \
     test/mhshow/test-binary \
     test/mhshow/test-charset \
@@ -162,10 +163,6 @@ TESTS = \
     test/whom/test-whom \
     test/cleanup ## The "cleanup" test should always be last.
 
     test/whom/test-whom \
     test/cleanup ## The "cleanup" test should always be last.
 
-XFAIL_TESTS = \
-    test/scan/test-scan \
-    #
-
 check_SCRIPTS = test/common.sh
 
 check_PROGRAMS = \
 check_SCRIPTS = test/common.sh
 
 check_PROGRAMS = \
index 510ad36ac3463845d032acd9381814eb9d740d0a..269f2b85997401dfa13fbfb2ad59e8c7487a448a 100755 (executable)
@@ -40,12 +40,12 @@ check "$expected" "$actual"
 
 
 # check full output device, if one exists
 
 
 # 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
+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
 
 
 # check highlighting