diff options
Diffstat (limited to 'tests.as-root/system-overlap.script')
-rwxr-xr-x | tests.as-root/system-overlap.script | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests.as-root/system-overlap.script b/tests.as-root/system-overlap.script index 868d3e61..28307301 100755 --- a/tests.as-root/system-overlap.script +++ b/tests.as-root/system-overlap.script @@ -23,7 +23,6 @@ set -eu cache="$DATADIR/cache/artifacts" chunkrepo="$DATADIR/chunk-repo" morphsrepo="$DATADIR/morphs-repo" -log="$DATADIR/morph.log" cd "$morphsrepo" git checkout --quiet -b overlap master @@ -119,6 +118,11 @@ git add overlap-*.morph git commit --quiet -m 'Add overlapping chunks' "$SRCDIR/scripts/test-morph" \ - build --log=$log test:morphs-repo overlap overlap-system.morph -grep "WARNING\s" $log | sed 's/^.*WARNING */WARNING /' | - sed 's/ \.\// /' + build test:morphs-repo overlap overlap-system.morph +"$SRCDIR/scripts/list-overlaps" groups \ + "$cache"/*.system.overlap-system.overlaps | +while IFS='\n' read overlaps; do + echo $overlaps + "$SRCDIR/scripts/list-overlaps" list-files \ + "$cache"/*.system.overlap-system.overlaps $overlaps +done |