tests/libtest-core: support multiple literal checks
authorJonathan Lebon <jlebon@redhat.com>
Thu, 11 Jan 2018 20:54:26 +0000 (20:54 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 11 Jan 2018 21:30:22 +0000 (21:30 +0000)
commit854a823e05d6fe8b610c02c2a71eaeb2bf1e98a6
tree887e91dd0067bdb774f5826bc5e505ddc6b45276
parentfdf7e2c560719d7e18f31c90b04a24349c6cc0e2
tests/libtest-core: support multiple literal checks

`grep` supports checking multiple fixed strings separated by newlines,
but it's mostly just easier to pass them as separate arguments, so let's
support that. This is now at parity with the similar
`assert_file_has_content`.

Closes: #1409
Approved by: cgwalters
tests/libtest-core.sh