tests: Add infinite loop package to kolainst-build

This way it's easy to get outside of the vmcheck tests.
This commit is contained in:
Colin Walters 2021-03-23 23:05:47 +00:00
parent b2c68b3309
commit 335415d601

View File

@ -53,5 +53,8 @@ build_rpm testdaemon \
useradd -r testdaemon-user -g testdaemon-group -s /sbin/nologin" \
files "/usr/bin/%{name}
/var/lib/%{name}"
# Will be useful for testing cancellation
build_rpm testpkg-post-infinite-loop \
post "echo entering testpkg-post-infinite-loop 1>&2; while true; do sleep 1h; done"
mv ${test_tmpdir}/yumrepo/* rpm-repos/${repover}