From 51a0bbfe1758bcf1526d41d63cd1c4518fa6ce80 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 8 Oct 2008 11:54:13 +0000 Subject: add tests, esp. for %triggerpostun failing that blocks upgrade of drakxtools-backend in mdv2009.0 --- t/data/SPECS/failing-scriptlets/triggerun-1.spec | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 t/data/SPECS/failing-scriptlets/triggerun-1.spec (limited to 't/data/SPECS/failing-scriptlets/triggerun-1.spec') diff --git a/t/data/SPECS/failing-scriptlets/triggerun-1.spec b/t/data/SPECS/failing-scriptlets/triggerun-1.spec new file mode 100644 index 00000000..a717d184 --- /dev/null +++ b/t/data/SPECS/failing-scriptlets/triggerun-1.spec @@ -0,0 +1,17 @@ +Summary: x +Name: triggerun +Version: 1 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%triggerun -p -- triggerun > 0 +print("%{name}-%{version}") +exit(1) + +%files -- cgit v1.2.1