diff options
Diffstat (limited to 'tests/data/SPECS/verifyscript.spec')
-rw-r--r-- | tests/data/SPECS/verifyscript.spec | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/data/SPECS/verifyscript.spec b/tests/data/SPECS/verifyscript.spec new file mode 100644 index 0000000..cc7a124 --- /dev/null +++ b/tests/data/SPECS/verifyscript.spec @@ -0,0 +1,19 @@ +Name: verifyscript +Version: 1.0 +Release: 1 +Summary: Testing verifyscript behavior + +Group: Testing +License: GPL +BuildArch: noarch + +%description +%{summary} + +%verifyscript -p <lua> +if not posix.access("/var/checkme", "f") then + error("bad") +end + +%files +%defattr(-,root,root) |