test: accept GC'ed units in newer LVM
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 10 Feb 2022 11:29:53 +0000 (12:29 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 5 Mar 2022 21:03:32 +0000 (21:03 +0000)
commit85cc27fe88c5c49d1253ae25e25188da0e86d9c4
tree0b7a60cff2e3893ec483742254a9a026ca83eec3
parentc635058797175d5af6476d0778dafefdc8af5503
test: accept GC'ed units in newer LVM

Since lvm 2.03.15 the transient units are started without `-r`, thus
disappearing once they finish and breaking the test (which expects them
to remain loaded after finishing). Let's accept `LoadState=not-found` as
a valid result as well to fix this.

Follow-up to: d10d562bd4b9f93130fb2b23f2b0d0d4126ea7d4
See: https://sourceware.org/git/?p=lvm2.git;a=commit;h=fbd8b0cf43dc67f51f86f060dce748f446985855

(cherry picked from commit b034f02c628057c30a2136289a1b388a6fb9a737)
test/units/testsuite-64.sh