]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - test/5.5-lp.sh
The scheduler now returns completed jobs in the correct newest-to-oldest order
[thirdparty/cups.git] / test / 5.5-lp.sh
index a74f19bf739a6f8163e8ac80beee0a882f56bc91..94e2b3cb6e6220239ec9e718e05ba143773b1a5f 100644 (file)
@@ -81,6 +81,19 @@ echo ""
 
 ./waitjobs.sh
 
+echo "LPSTAT Completed Jobs Order Test"
+echo ""
+echo "    lpstat -W completed -o"
+$VALGRIND ../systemv/lpstat -W completed -o | tee $BASE/lpstat-completed.txt
+if test "`uniq -d $BASE/lpstat-completed.txt`" != ""; then
+       echo "    FAILED"
+       exit 1
+else
+       echo "    PASSED"
+fi
+echo ""
+
+
 #
 # End of "$Id$".
 #