summaryrefslogtreecommitdiff
path: root/yarns/implementations.yarn
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-12-06 15:45:55 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-01-16 17:35:06 +0000
commit9901b78e48fddeda2ed7f6dbf954abcde8fa9a0f (patch)
tree2110b58c6d68165748f793b943a5758c35ea830b /yarns/implementations.yarn
parent188fafc42db06161a1e1a39591b0d20cc083c5dc (diff)
downloadmorph-9901b78e48fddeda2ed7f6dbf954abcde8fa9a0f.tar.gz
yarns: Add tests for building systems with splitting
This includes tests for systems with the default splits and a system that selects only one of the produced stratum artifacts to go into the system artifact, since this is roughly the expected use-case for the tiny system morphologies.
Diffstat (limited to 'yarns/implementations.yarn')
-rw-r--r--yarns/implementations.yarn9
1 files changed, 9 insertions, 0 deletions
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn
index 083035fe..5b9b39df 100644
--- a/yarns/implementations.yarn
+++ b/yarns/implementations.yarn
@@ -788,3 +788,12 @@ Implementations for building systems
IMPLEMENTS THEN morph build the system (\S+) of the (branch|tag) (\S+)
cd "$DATADIR/workspace/$MATCH_3"
run_morph build "$MATCH_1"
+
+Implementations for tarball inspection
+--------------------------------------
+
+ IMPLEMENTS THEN tarball (\S+) contains (.*)
+ tar -tf "$DATADIR/$MATCH_1" | grep -Fe "$MATCH_2"
+
+ IMPLEMENTS THEN tarball (\S+) doesn't contain (.*)
+ ! tar -tf "$DATADIR/$MATCH_1" | grep -Fe "$MATCH_2"