1#!/bin/sh 2# 3# Test the lpq command. 4# 5# Copyright © 2020-2024 by OpenPrinting. 6# Copyright © 2007 by Apple Inc. 7# Copyright © 1997-2005 by Easy Software Products, all rights reserved. 8# 9# Licensed under Apache License v2.0. See the file "LICENSE" for more 10# information. 11# 12 13echo "LPQ Test" 14echo "" 15echo " lpq -P Test1" 16$runcups $VALGRIND ../berkeley/lpq -P Test1 2>&1 17if test $? != 0; then 18 echo " FAILED" 19 exit 1 20else 21 echo " PASSED" 22fi 23echo "" 24