diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2013-12-18 18:40:43 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-01-13 16:20:36 +0000 |
commit | 8b09aea85a67b1017de69202380f6b0716e2b183 (patch) | |
tree | 9b856e76a44c9aa812d43f8f7f04ce68ae9f5a40 /tests.as-root/branch-from-image-works.script | |
parent | 524227ab56c072f0c9eb6fc5bc0f9f4dee15440b (diff) | |
download | morph-8b09aea85a67b1017de69202380f6b0716e2b183.tar.gz |
cmdtests: Take into account new constructed artifacts
Diffstat (limited to 'tests.as-root/branch-from-image-works.script')
-rwxr-xr-x | tests.as-root/branch-from-image-works.script | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests.as-root/branch-from-image-works.script b/tests.as-root/branch-from-image-works.script index 942301e8..c9d50bbb 100755 --- a/tests.as-root/branch-from-image-works.script +++ b/tests.as-root/branch-from-image-works.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 @@ -34,7 +34,7 @@ tar -xf "$tar" -C "$extracted" get_sha1(){ sed -nre '/sha1/s/^.*([0-9a-f]{40}).*$/\1/p' "$1" } -hello_chunk_commit=$(get_sha1 "$extracted/baserock/hello.meta") +hello_chunk_commit=$(get_sha1 "$extracted/baserock/hello-bins.meta") # Make a commit so that petrifying from HEAD is detectable chunkrepo="$DATADIR/chunk-repo" |