summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/failing-scriptlets/posttrans.spec
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-08 11:54:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-08 11:54:13 +0000
commit51a0bbfe1758bcf1526d41d63cd1c4518fa6ce80 (patch)
treeee74957892063e7ab4c220620224c0e5ad43342a /t/data/SPECS/failing-scriptlets/posttrans.spec
parentc64d0fa1ea26cc983818569f91974ad20b3ff11c (diff)
downloadurpmi-51a0bbfe1758bcf1526d41d63cd1c4518fa6ce80.tar
urpmi-51a0bbfe1758bcf1526d41d63cd1c4518fa6ce80.tar.gz
urpmi-51a0bbfe1758bcf1526d41d63cd1c4518fa6ce80.tar.bz2
urpmi-51a0bbfe1758bcf1526d41d63cd1c4518fa6ce80.tar.xz
urpmi-51a0bbfe1758bcf1526d41d63cd1c4518fa6ce80.zip
add tests, esp. for %triggerpostun failing that blocks upgrade of
drakxtools-backend in mdv2009.0
Diffstat (limited to 't/data/SPECS/failing-scriptlets/posttrans.spec')
-rw-r--r--t/data/SPECS/failing-scriptlets/posttrans.spec17
1 files changed, 17 insertions, 0 deletions
diff --git a/t/data/SPECS/failing-scriptlets/posttrans.spec b/t/data/SPECS/failing-scriptlets/posttrans.spec
new file mode 100644
index 00000000..c2a085d9
--- /dev/null
+++ b/t/data/SPECS/failing-scriptlets/posttrans.spec
@@ -0,0 +1,17 @@
+Summary: x
+Name: posttrans
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%posttrans -p <lua>
+print("%{name}-%{version}")
+exit(1)
+
+%files