From fe18c83db086c574542fd755fa723e2c666b5cfd Mon Sep 17 00:00:00 2001 From: pdancak Date: Fri, 21 Jan 2022 16:43:14 +0100 Subject: [PATCH] next test --- .../gstoraster.ras | Bin 0 -> 98985 bytes .../main.fmf | 27 +++++++++ .../runtest.sh | 54 ++++++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 Regression/bz1592851-rastertoepson-filter-crashes-with-paper-size-A6/gstoraster.ras create mode 100644 Regression/bz1592851-rastertoepson-filter-crashes-with-paper-size-A6/main.fmf create mode 100755 Regression/bz1592851-rastertoepson-filter-crashes-with-paper-size-A6/runtest.sh diff --git a/Regression/bz1592851-rastertoepson-filter-crashes-with-paper-size-A6/gstoraster.ras b/Regression/bz1592851-rastertoepson-filter-crashes-with-paper-size-A6/gstoraster.ras new file mode 100644 index 0000000000000000000000000000000000000000..bc7dfd2cb6bed667f7d3b269fb06217f3b572dc7 GIT binary patch literal 98985 zcmeI*L2Dez83y35R7SN2;SQL zU(EWlhd>TKB;*(5kWtzblA-+kJqD&Nqm@daeG- zSwGEz!2gvW{oud&;|k6A%_M8M zVQjf#4KEm595cbPguh(W6M+C@QknNmNz_SYq_wz;e2zhv{g9ci%P`T z??i$%oUh*r3#lI#QZFo|URX%Iu#ozQdadJuh4cbgNWHKl^}>$S3p-M;ly}p}xHDqj zH1h3?u#jE=J5n#4+V#SzT`!#4^}?xLFD#@!*pXfUJ5n#~NWHKl^}>$S3p-MuFMW*^ z0000000000000000000000000000000000000000000000002q3DuP&$KD@Bc^|DE zu79rIK9#yVy}f;Sdk4pO`F3av;ie8>y~$?P^5%NGYUy?gZFt&#Vf{({Xx{X(C@vG; zHrKW{&|D3t=E=4J3)ZxJ9xhDV{mqZpX*o^mu*-();k+@P@aD-&hRb~W;_x0(j|}Y) zjfe)adJRUK?yh^8>y{CT%r&a#?s>3D?hk3o-Lo>Q!`-KlR2k)cTIiNxe=;6eITe;Z z&~#@S8|gku&Xjy?NR@I*aSO%rRW|!j(_Nbsk+O#i=z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`>C6vd-tMD-r7&3IG7`ZVProw=IRXf)z#EQfMn!fo@(3ZG}7iKQD#0!WAy&rO;Nm zqUgL7+6q^oo0URa0n1!*XDe3=SfGm+_Rmhh(qg=@e|7>EMdPLv+G1@vYoD`@7S?gj zdxWyiEv&O5>wM0;60xqK0002*wg5%ZrBY}s#Hr||QfMp0N%W;sXe&ffbg2~D3Q-hY zEQPj$lw1}|p{*drqQz2ZD@ajvu@u@0Qd(Rng|@C6vd-tMD-r7&3IG5A00000000000000000000000000000000000 z0000000000Uvl$XJC1gUHptyh=72Pfg8Wz~vr7wi!n07}IcvCU`slr#&CzYwE&ZF> z&i=6;j|7eSblTny^HTD&fA$WFzm>60KJ9H#8lRW@C+FqCuSJnw`NE_5XW#1|^v^#Y z=)vE68+6+L;N$(1gRT30xpi=TFzd5RvX8zt{A}xVb7!=3|0^4G(!0I6fA8Sh&wBFO z$)laChHus3w?;eP*x4Z2yRo^yKiWF%NxFJ?{@%@Rot3B4Tce$C?rc!fyD{D0AC*7v zZP4+RTb^&-{M|3G`i}8dv%O}rtj^)$O@~&_^FJ>iWUEx^6v3&Yq`Sil_>4oKU36@Vk>^{A)e0pK` z>4n{=7j~as*nKX+?$ZyuPcQ5~y>Rl@3ny>AaPrm3;wK literal 0 HcmV?d00001 diff --git a/Regression/bz1592851-rastertoepson-filter-crashes-with-paper-size-A6/main.fmf b/Regression/bz1592851-rastertoepson-filter-crashes-with-paper-size-A6/main.fmf new file mode 100644 index 0000000..d7a019b --- /dev/null +++ b/Regression/bz1592851-rastertoepson-filter-crashes-with-paper-size-A6/main.fmf @@ -0,0 +1,27 @@ +summary: Test for BZ#1592851 (rastertoepson filter crashes with paper size A6) +description: | + Bug summary: rastertoepson filter crashes with paper size A6 + Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1592851 +contact: Petr Dancak +component: + - cups +test: ./runtest.sh +framework: beakerlib +recommend: + - cups +duration: 20m +enabled: true +tag: + - NoRHEL4 + - NoRHEL5 + - TIPfail + - TIPfail_infra +link: + - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1592851 +adjust: + - enabled: false + when: distro == rhel-4, rhel-5 + continue: false +extra-nitrate: TC#0605872 +extra-summary: /CoreOS/cups/Regression/bz1592851-rastertoepson-filter-crashes-with-paper-size-A6 +extra-task: /CoreOS/cups/Regression/bz1592851-rastertoepson-filter-crashes-with-paper-size-A6 diff --git a/Regression/bz1592851-rastertoepson-filter-crashes-with-paper-size-A6/runtest.sh b/Regression/bz1592851-rastertoepson-filter-crashes-with-paper-size-A6/runtest.sh new file mode 100755 index 0000000..82c795c --- /dev/null +++ b/Regression/bz1592851-rastertoepson-filter-crashes-with-paper-size-A6/runtest.sh @@ -0,0 +1,54 @@ +#!/bin/bash +# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of /CoreOS/cups/Regression/bz1592851-rastertoepson-filter-crashes-with-paper-size-A6 +# Description: Test for BZ#1592851 (rastertoepson filter crashes with paper size A6) +# Author: Zdenek Dohnal +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2020 Red Hat, Inc. +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +# Include Beaker environment +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +PACKAGE="cups" + +rlJournalStart + rlPhaseStartSetup + rlAssertRpm $PACKAGE + rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory" + rlRun "cp gstoraster.ras $TmpDir" + rlRun "pushd $TmpDir" + rlServiceStart cups + rlPhaseEnd + + rlPhaseStartTest + rlRun "lpadmin -p test -m drv:///sample.drv/okidat24.ppd" + rlRun "PPD=/etc/cups/ppd/test.ppd /usr/lib/cups/filter/rastertoepson 1 root '' 1 '' < ./gstoraster.ras > ./rastertoepson.prn" + rlPhaseEnd + + rlPhaseStartCleanup + rlRun "lpadmin -x test" + rlServiceRestore cups + rlRun "popd" + rlRun "rm -r $TmpDir" 0 "Removing tmp directory" + rlPhaseEnd +rlJournalPrintText +rlJournalEnd