summaryrefslogtreecommitdiff
path: root/test/end-to-end/actions/tree-conflicts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/end-to-end/actions/tree-conflicts.sh')
-rw-r--r--test/end-to-end/actions/tree-conflicts.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/end-to-end/actions/tree-conflicts.sh b/test/end-to-end/actions/tree-conflicts.sh
index 87b1f489..4054825e 100644
--- a/test/end-to-end/actions/tree-conflicts.sh
+++ b/test/end-to-end/actions/tree-conflicts.sh
@@ -46,11 +46,12 @@ cat > TARGETS <<'EOF'
, "name": "merge"
, "deps": ["foo", "good bar"]
}
-, "real conflict":
+, "TheOffendingTarget":
{ "type": "disjoint_tree_overlay"
, "name": "merge"
, "deps": ["foo", "bad bar"]
}
+, "real conflict": {"type": "install", "dirs": [["TheOffendingTarget", "."]]}
}
EOF
@@ -77,6 +78,8 @@ OVERLAY_ID=$(jq -r '.merge.data.id' "${OUT}/artifacts.json")
-L '["env", "PATH='"${PATH}"'"]' 'real conflict' 2>&1 && exit 1 || :
echo
grep 'foobar' "${OUT}/log" # The location of the conflict should be mentioned
+grep 'TheOffendingTarget' "${OUT}/log" # The actual origin of that tree-overlay
+ # should be reported as well
echo
echo OK