summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/failing-scriptlets
diff options
context:
space:
mode:
Diffstat (limited to 't/data/SPECS/failing-scriptlets')
-rw-r--r--t/data/SPECS/failing-scriptlets/post.spec17
-rw-r--r--t/data/SPECS/failing-scriptlets/posttrans.spec17
-rw-r--r--t/data/SPECS/failing-scriptlets/postun.spec17
-rw-r--r--t/data/SPECS/failing-scriptlets/pre.spec17
-rw-r--r--t/data/SPECS/failing-scriptlets/pretrans.spec17
-rw-r--r--t/data/SPECS/failing-scriptlets/preun.spec17
-rw-r--r--t/data/SPECS/failing-scriptlets/triggerin-1.spec17
-rw-r--r--t/data/SPECS/failing-scriptlets/triggerin-2.spec17
-rw-r--r--t/data/SPECS/failing-scriptlets/triggerpostun-1.spec17
-rw-r--r--t/data/SPECS/failing-scriptlets/triggerpostun-2.spec17
-rw-r--r--t/data/SPECS/failing-scriptlets/triggerprein-1.spec17
-rw-r--r--t/data/SPECS/failing-scriptlets/triggerprein-2.spec17
-rw-r--r--t/data/SPECS/failing-scriptlets/triggerun-1.spec17
-rw-r--r--t/data/SPECS/failing-scriptlets/triggerun-2.spec17
14 files changed, 238 insertions, 0 deletions
diff --git a/t/data/SPECS/failing-scriptlets/post.spec b/t/data/SPECS/failing-scriptlets/post.spec
new file mode 100644
index 00000000..2534ac9d
--- /dev/null
+++ b/t/data/SPECS/failing-scriptlets/post.spec
@@ -0,0 +1,17 @@
+Summary: x
+Name: post
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%post -p <lua>
+print("%{name}-%{version}")
+exit(1)
+
+%files
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
diff --git a/t/data/SPECS/failing-scriptlets/postun.spec b/t/data/SPECS/failing-scriptlets/postun.spec
new file mode 100644
index 00000000..6f3ae0fd
--- /dev/null
+++ b/t/data/SPECS/failing-scriptlets/postun.spec
@@ -0,0 +1,17 @@
+Summary: x
+Name: postun
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%postun -p <lua>
+print("%{name}-%{version}")
+exit(1)
+
+%files
diff --git a/t/data/SPECS/failing-scriptlets/pre.spec b/t/data/SPECS/failing-scriptlets/pre.spec
new file mode 100644
index 00000000..4d7c1918
--- /dev/null
+++ b/t/data/SPECS/failing-scriptlets/pre.spec
@@ -0,0 +1,17 @@
+Summary: x
+Name: pre
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%pre -p <lua>
+print("%{name}-%{version}")
+exit(1)
+
+%files
diff --git a/t/data/SPECS/failing-scriptlets/pretrans.spec b/t/data/SPECS/failing-scriptlets/pretrans.spec
new file mode 100644
index 00000000..56ec1417
--- /dev/null
+++ b/t/data/SPECS/failing-scriptlets/pretrans.spec
@@ -0,0 +1,17 @@
+Summary: x
+Name: pretrans
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%pretrans -p <lua>
+print("%{name}-%{version}")
+exit(1)
+
+%files
diff --git a/t/data/SPECS/failing-scriptlets/preun.spec b/t/data/SPECS/failing-scriptlets/preun.spec
new file mode 100644
index 00000000..854678b7
--- /dev/null
+++ b/t/data/SPECS/failing-scriptlets/preun.spec
@@ -0,0 +1,17 @@
+Summary: x
+Name: preun
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%preun -p <lua>
+print("%{name}-%{version}")
+exit(1)
+
+%files
diff --git a/t/data/SPECS/failing-scriptlets/triggerin-1.spec b/t/data/SPECS/failing-scriptlets/triggerin-1.spec
new file mode 100644
index 00000000..cd7cc977
--- /dev/null
+++ b/t/data/SPECS/failing-scriptlets/triggerin-1.spec
@@ -0,0 +1,17 @@
+Summary: x
+Name: triggerin
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%triggerin -p <lua> -- triggerin > 0
+print("%{name}-%{version}")
+exit(1)
+
+%files
diff --git a/t/data/SPECS/failing-scriptlets/triggerin-2.spec b/t/data/SPECS/failing-scriptlets/triggerin-2.spec
new file mode 100644
index 00000000..caecbde8
--- /dev/null
+++ b/t/data/SPECS/failing-scriptlets/triggerin-2.spec
@@ -0,0 +1,17 @@
+Summary: x
+Name: triggerin
+Version: 2
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%triggerin -p <lua> -- triggerin > 0
+print("%{name}-%{version}")
+exit(1)
+
+%files
diff --git a/t/data/SPECS/failing-scriptlets/triggerpostun-1.spec b/t/data/SPECS/failing-scriptlets/triggerpostun-1.spec
new file mode 100644
index 00000000..04f88b5d
--- /dev/null
+++ b/t/data/SPECS/failing-scriptlets/triggerpostun-1.spec
@@ -0,0 +1,17 @@
+Summary: x
+Name: triggerpostun
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%triggerpostun -p <lua> -- triggerpostun > 0
+print("%{name}-%{version}")
+exit(1)
+
+%files
diff --git a/t/data/SPECS/failing-scriptlets/triggerpostun-2.spec b/t/data/SPECS/failing-scriptlets/triggerpostun-2.spec
new file mode 100644
index 00000000..dd44e94a
--- /dev/null
+++ b/t/data/SPECS/failing-scriptlets/triggerpostun-2.spec
@@ -0,0 +1,17 @@
+Summary: x
+Name: triggerpostun
+Version: 2
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%triggerpostun -p <lua> -- triggerpostun > 0
+print("%{name}-%{version}")
+exit(1)
+
+%files
diff --git a/t/data/SPECS/failing-scriptlets/triggerprein-1.spec b/t/data/SPECS/failing-scriptlets/triggerprein-1.spec
new file mode 100644
index 00000000..ecf51f00
--- /dev/null
+++ b/t/data/SPECS/failing-scriptlets/triggerprein-1.spec
@@ -0,0 +1,17 @@
+Summary: x
+Name: triggerprein
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%triggerprein -p <lua> -- triggerprein > 0
+print("%{name}-%{version}")
+exit(1)
+
+%files
diff --git a/t/data/SPECS/failing-scriptlets/triggerprein-2.spec b/t/data/SPECS/failing-scriptlets/triggerprein-2.spec
new file mode 100644
index 00000000..a3f1ecc6
--- /dev/null
+++ b/t/data/SPECS/failing-scriptlets/triggerprein-2.spec
@@ -0,0 +1,17 @@
+Summary: x
+Name: triggerprein
+Version: 2
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%triggerprein -p <lua> -- triggerprein > 0
+print("%{name}-%{version}")
+exit(1)
+
+%files
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 <lua> -- triggerun > 0
+print("%{name}-%{version}")
+exit(1)
+
+%files
diff --git a/t/data/SPECS/failing-scriptlets/triggerun-2.spec b/t/data/SPECS/failing-scriptlets/triggerun-2.spec
new file mode 100644
index 00000000..2419c4e2
--- /dev/null
+++ b/t/data/SPECS/failing-scriptlets/triggerun-2.spec
@@ -0,0 +1,17 @@
+Summary: x
+Name: triggerun
+Version: 2
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%triggerun -p <lua> -- triggerun > 0
+print("%{name}-%{version}")
+exit(1)
+
+%files