fix(installer): avoid pipefail marker race
This commit is contained in:
@@ -56,7 +56,11 @@ case "$mode" in
|
||||
|| { echo "[fixture-suite] invalid $singular marker name: $name" >&2; exit 2; }
|
||||
[[ -d "$run_dir" ]] \
|
||||
|| { echo "[fixture-suite] $dimension state was not initialized: $run_id" >&2; exit 1; }
|
||||
expected_names | grep -Fxq -- "$name" \
|
||||
if ! expected_snapshot="$(expected_names)"; then
|
||||
echo "[fixture-suite] failed to read expected $dimension" >&2
|
||||
exit 1
|
||||
fi
|
||||
grep -Fxq -- "$name" <<<"$expected_snapshot" \
|
||||
|| { echo "[fixture-suite] $singular is not in the expected set: $name" >&2; exit 1; }
|
||||
: > "$run_dir/$name.ran"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user