From ea41317e6765b18310c9e8ba830d75bbe758f854 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Tue, 24 Nov 2020 15:52:14 +0100 Subject: log downloads --- tests/fixtures/verify-entity-download.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/fixtures/verify-entity-download.sh b/tests/fixtures/verify-entity-download.sh index bc229bf..b4b26c0 100755 --- a/tests/fixtures/verify-entity-download.sh +++ b/tests/fixtures/verify-entity-download.sh @@ -10,9 +10,10 @@ CSV="verify.csv" for ident in $(awk -F, '{print $1"\n"$2}' "$CSV"); do if [ -f "$ident" ]; then - >&2 echo "[cached] $ident" + echo >&2 "[cached] $ident" continue fi - tempfile=$(mktemp) - curl -sL --fail "$API/release/$ident" | jq --sort-keys . > "$tempfile" && mv "$tempfile" "$ident" + tempfile=$(mktemp) + curl -sL --fail "$API/release/$ident" | jq --sort-keys . >"$tempfile" && mv "$tempfile" "$ident" + echo >&2 "[fetched] $ident" done -- cgit v1.2.3