From 188fafc42db06161a1e1a39591b0d20cc083c5dc Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Wed, 18 Dec 2013 18:40:43 +0000 Subject: cmdtests: Take into account new constructed artifacts --- tests.build/bootstrap-mode.script | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'tests.build/bootstrap-mode.script') diff --git a/tests.build/bootstrap-mode.script b/tests.build/bootstrap-mode.script index 923fb21f..0ac66220 100755 --- a/tests.build/bootstrap-mode.script +++ b/tests.build/bootstrap-mode.script @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2011-2013 Codethink Limited +# Copyright (C) 2011-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 @@ -29,11 +29,15 @@ set -eu test:morphs-repo master hello-system cd "$DATADIR/cache/artifacts" -echo "build-essential stratum:" -stratum=$(ls *.stratum.build-essential) -cat $stratum | sed 's/[a-f0-9]\{64\}/xxxx/g' -echo +echo "build-essential strata:" +for stratum in $(find . -regex '.*\.stratum\.build-essential-[^.]*$' | sort) +do + echo "$stratum" + sed 's/[a-f0-9]\{64\}/xxxx/g' "$stratum" + echo +done echo echo "hello-system:" system=$(ls *hello-system-rootfs) -tar tf "$system" | LC_ALL=C sort | sed '/^\.\/./s:^\./::' +tar tf "$system" | LC_ALL=C sort -u | sed '/^\.\/./s:^\./::' \ + | grep -v '^baserock' -- cgit v1.2.1