Skip to content

Commit 360229b

Browse files
committed
Some test suite cleanup.
1 parent d05aa65 commit 360229b

1 file changed

Lines changed: 3 additions & 16 deletions

File tree

test/run-stp-tests.sh

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -256,14 +256,14 @@ case "$usedebugprintfs" in
256256
echo "Enabling debug printfs (level 5); log files can be found in $BASE/log..."
257257
CUPS_DEBUG_LOG="$BASE/log/debug_printfs.%d"; export CUPS_DEBUG_LOG
258258
CUPS_DEBUG_LEVEL=5; export CUPS_DEBUG_LEVEL
259-
CUPS_DEBUG_FILTER='^(http|_http|ipp|_ipp|cups.*Request|cupsGetResponse|cupsSend).*$'; export CUPS_DEBUG_FILTER
259+
CUPS_DEBUG_FILTER='^(http|_http|ipp|_ipp|cupsCreate|cups.*Request|cupsGetResponse|cupsSend).*$'; export CUPS_DEBUG_FILTER
260260
;;
261261

262262
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9)
263263
echo "Enabling debug printfs (level $usedebugprintfs); log files can be found in $BASE/log..."
264264
CUPS_DEBUG_LOG="$BASE/log/debug_printfs.%d"; export CUPS_DEBUG_LOG
265265
CUPS_DEBUG_LEVEL="$usedebugprintfs"; export CUPS_DEBUG_LEVEL
266-
CUPS_DEBUG_FILTER='^(http|_http|ipp|_ipp|cups.*Request|cupsGetResponse|cupsSend).*$'; export CUPS_DEBUG_FILTER
266+
CUPS_DEBUG_FILTER='^(http|_http|ipp|_ipp|cupsCreate|cups.*Request|cupsGetResponse|cupsSend).*$'; export CUPS_DEBUG_FILTER
267267
;;
268268

269269
*)
@@ -365,21 +365,12 @@ ln -s $root/templates $BASE/share
365365
instfilter() {
366366
# instfilter src dst format
367367
#
368-
# See if the filter exists in a standard location; if so, make a
369-
# symlink, otherwise create a dummy script for the specified format.
368+
# Create a dummy script for the specified format.
370369
#
371370
src="$1"
372371
dst="$2"
373372
format="$3"
374373

375-
for dir in /usr/local/libexec/cups/filter /usr/libexec/cups/filter /usr/lib/cups/filter; do
376-
if test -x "$dir/$src"; then
377-
ln -s "$dir/$src" "$BASE/bin/filter/$dst"
378-
return
379-
fi
380-
done
381-
382-
# Source filter not present, create a dummy filter
383374
case $format in
384375
passthru)
385376
ln -s gziptoany "$BASE/bin/filter/$dst"
@@ -530,10 +521,6 @@ PassEnv ASAN_OPTIONS
530521
Sandboxing Off
531522
EOF
532523

533-
if test $ssltype != 0 -a `uname` = Darwin; then
534-
echo "ServerKeychain $HOME/Library/Keychains/login.keychain" >> $BASE/cups-files.conf
535-
fi
536-
537524
#
538525
# Setup lots of test queues with PPD files...
539526
#

0 commit comments

Comments
 (0)