diff options
-rwxr-xr-x | tests.as-root/branch-from-image-works.script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests.as-root/branch-from-image-works.script b/tests.as-root/branch-from-image-works.script index fb0b09c9..5a400741 100755 --- a/tests.as-root/branch-from-image-works.script +++ b/tests.as-root/branch-from-image-works.script @@ -32,7 +32,7 @@ extracted="$DATADIR/extracted" mkdir -p "$extracted" tar -xf "$tar" -C "$extracted" get_sha1(){ - sed -nre '/sha1/s/^.*([0-9a-f]{40}).*$/\1/p' "$1" + sed -nre '/\"sha1\"/s/^.*([0-9a-f]{40}).*$/\1/p' "$1" } hello_chunk_commit=$(get_sha1 "$extracted/baserock/hello-bins.meta") |