]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add debugging output to test suite for Travis CI issue.
authorMichael R Sweet <msweet@msweet.org>
Fri, 27 Nov 2020 15:17:17 +0000 (10:17 -0500)
committerMichael R Sweet <msweet@msweet.org>
Fri, 27 Nov 2020 15:17:17 +0000 (10:17 -0500)
test/run-stp-tests.sh

index 1af6d07417d85e4751a821af008150c0fe449f79..d93388408a73b61209db0ad3c0a72151764dea0f 100755 (executable)
@@ -3,6 +3,7 @@
 # Perform the complete set of IPP compliance tests specified in the
 # CUPS Software Test Plan.
 #
+# Copyright © 2020 by Michael R Sweet
 # Copyright © 2007-2019 by Apple Inc.
 # Copyright © 1997-2007 by Easy Software Products, all rights reserved.
 #
@@ -851,7 +852,8 @@ else
        echo "    ls -l $BASE/spool" >>$strfile
        count=`ls -1 $BASE/spool | wc -l`
        if test $count = 1; then
-               echo "FAIL"
+               echo "FAIL (job control files not present)"
+               ls -l $BASE/spool
                echo "    FAILED (job control files not present)" >>$strfile
                ls -l $BASE/spool >>$strfile
                fail=`expr $fail + 1`
@@ -870,7 +872,8 @@ else
                echo "    ls -l $BASE/spool" >>$strfile
                count=`ls -1 $BASE/spool | wc -l`
                if test $count != 1; then
-                       echo "FAIL"
+                       echo "FAIL (job control files still present)"
+                       ls -l $BASE/spool
                        echo "    FAILED (job control files still present)" >>$strfile
                        ls -l $BASE/spool >>$strfile
                        fail=`expr $fail + 1`