diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-12-29 19:39:35 -0500 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-01-01 19:44:53 +0900 |
commit | c6df92fcbec1300334cdb1a79fdfa633fb3385fb (patch) | |
tree | 4ecce9db0109df4c0340c65119c71c19ba6e84bf /tests/sources/patch | |
parent | fbdb5118f6322cf2f5e8bdb24bc7c5a8fdd374bc (diff) | |
download | buildstream-c6df92fcbec1300334cdb1a79fdfa633fb3385fb.tar.gz |
tests/sources: Use new error checking tools for source tests
Also added a test case for the `patch` plugin which checks for graceful
failure when the specified patch file is not a regular file (but a block
device or a named pipe instead).
Diffstat (limited to 'tests/sources/patch')
-rw-r--r-- | tests/sources/patch/basic/irregular.bst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/sources/patch/basic/irregular.bst b/tests/sources/patch/basic/irregular.bst new file mode 100644 index 000000000..425cbcc01 --- /dev/null +++ b/tests/sources/patch/basic/irregular.bst @@ -0,0 +1,7 @@ +kind: import +description: This is the pony +sources: +- kind: local + path: file.txt +- kind: patch + path: irregular_file.patch |