diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-11-14 17:52:38 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-11-14 17:58:39 +0000 |
commit | e8a342e61989f06172457fc25311abc02e5dfee6 (patch) | |
tree | 1cb80924d7cd49b495a4844419fd1669ce7eeafd /tests.as-root/building-a-system-branch-works-anywhere.script | |
parent | 70564c6457b732e1dd35384971da5df3c5a1665b (diff) | |
download | morph-e8a342e61989f06172457fc25311abc02e5dfee6.tar.gz |
Update as-root tests to use their setup infrastructure
Code to generate system images was being duplicated in each test needlessly.
Diffstat (limited to 'tests.as-root/building-a-system-branch-works-anywhere.script')
-rwxr-xr-x | tests.as-root/building-a-system-branch-works-anywhere.script | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests.as-root/building-a-system-branch-works-anywhere.script b/tests.as-root/building-a-system-branch-works-anywhere.script index 11fc6850..3f96e00e 100755 --- a/tests.as-root/building-a-system-branch-works-anywhere.script +++ b/tests.as-root/building-a-system-branch-works-anywhere.script @@ -1,4 +1,5 @@ #!/bin/bash +# # Copyright (C) 2012 Codethink Limited # # This program is free software; you can redistribute it and/or modify @@ -50,7 +51,7 @@ cd "$DATADIR/workspace/branch1/test:kernel-repo" rm -rf "$DATADIR/cache/artifacts"/* # Verify that we build the right number of artifacts -[ $(wc < "$DATADIR/output1" -l) -eq 10 ] +[ $(wc < "$DATADIR/output1" -l) -eq 16 ] # List of files in the artifact cache should be identical after each build diff "$DATADIR/output1" "$DATADIR/output2" |