]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Test: Fix *topdf filters to find the examples in the correct path
authorDidier 'OdyX' Raboud <odyx@debian.org>
Wed, 8 May 2019 12:16:03 +0000 (14:16 +0200)
committerDidier 'OdyX' Raboud <didier.raboud@liip.ch>
Wed, 8 May 2019 12:17:27 +0000 (14:17 +0200)
test/run-stp-tests.sh

index 64322d68ce44bcf60800925166d45f3b1b05e522..957ba6c99177cbfd6090dd42dfab4ae506ae5ae6 100755 (executable)
@@ -396,10 +396,10 @@ trap "" PIPE
 gziptoany "$1" "$2" "$3" "$4" "$5" \$6 >/dev/null
 case "\$5" in
        *media=a4* | *media=iso_a4* | *PageSize=A4*)
-               gziptoany "$1" "$2" "$3" "$4" "$5" "$root/test/onepage-a4.pdf"
+               gziptoany "$1" "$2" "$3" "$4" "$5" "$root/examples/onepage-a4.pdf"
                ;;
        *)
-               gziptoany "$1" "$2" "$3" "$4" "$5" "$root/test/onepage-letter.pdf"
+               gziptoany "$1" "$2" "$3" "$4" "$5" "$root/examples/onepage-letter.pdf"
                ;;
 esac
 EOF
@@ -413,10 +413,10 @@ trap "" PIPE
 gziptoany "$1" "$2" "$3" "$4" "$5" \$6 >/dev/null
 case "\$5" in
        *media=a4* | *media=iso_a4* | *PageSize=A4*)
-               gziptoany "$1" "$2" "$3" "$4" "$5" "$root/test/onepage-a4.ps"
+               gziptoany "$1" "$2" "$3" "$4" "$5" "$root/examples/onepage-a4.ps"
                ;;
        *)
-               gziptoany "$1" "$2" "$3" "$4" "$5" "$root/test/onepage-letter.ps"
+               gziptoany "$1" "$2" "$3" "$4" "$5" "$root/examples/onepage-letter.ps"
                ;;
 esac
 EOF
@@ -430,10 +430,10 @@ trap "" PIPE
 gziptoany "$1" "$2" "$3" "$4" "$5" \$6 >/dev/null
 case "\$5" in
        *media=a4* | *media=iso_a4* | *PageSize=A4*)
-               gziptoany "$1" "$2" "$3" "$4" "$5" "$root/test/onepage-a4-300-black-1.pwg.gz"
+               gziptoany "$1" "$2" "$3" "$4" "$5" "$root/examples/onepage-a4-300-black-1.pwg.gz"
                ;;
        *)
-               gziptoany "$1" "$2" "$3" "$4" "$5" "$root/test/onepage-letter-300-black-1.pwg.gz"
+               gziptoany "$1" "$2" "$3" "$4" "$5" "$root/examples/onepage-letter-300-black-1.pwg.gz"
                ;;
 esac
 EOF