summaryrefslogtreecommitdiff
path: root/tests.build/prefix.script
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-12-18 18:40:43 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-01-16 17:35:06 +0000
commit188fafc42db06161a1e1a39591b0d20cc083c5dc (patch)
tree0da5c634f39e57db4358d6f27ae0ad2c05c22043 /tests.build/prefix.script
parent57692c25491c4da23dac2691e035dba8f10e14d0 (diff)
downloadmorph-188fafc42db06161a1e1a39591b0d20cc083c5dc.tar.gz
cmdtests: Take into account new constructed artifacts
Diffstat (limited to 'tests.build/prefix.script')
-rwxr-xr-xtests.build/prefix.script6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests.build/prefix.script b/tests.build/prefix.script
index e9b8ecd2..ca9648c9 100755
--- a/tests.build/prefix.script
+++ b/tests.build/prefix.script
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright (C) 2013 Codethink Limited
+# Copyright (C) 2013-2014 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -82,6 +82,6 @@ git commit -q -m "Update stratum"
test:morphs-repo master hello-system
cd "$DATADIR/cache/artifacts"
-first_chunk=$(ls -1 *.chunk.xyzzy | cut -c -64)
-second_chunk=$(ls -1 *.chunk.plugh | cut -c -64)
+first_chunk=$(ls -1 *.chunk.xyzzy-* | head -n1 | cut -c -64)
+second_chunk=$(ls -1 *.chunk.plugh-* | head -n1 | cut -c -64)
cat $first_chunk.build-log $second_chunk.build-log