From 3aa7276e7ef5b9e8276328b24dff3b9aef7e7367 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 9 Apr 2021 19:32:42 -0700 Subject: add very crude 'live' test against API (shell script) --- tests/live.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 tests/live.sh (limited to 'tests') diff --git a/tests/live.sh b/tests/live.sh new file mode 100755 index 0000000..06cbfbf --- /dev/null +++ b/tests/live.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e -u -o pipefail + +export FATCAT=./target/debug/fatcat-cli + +$FATCAT search releases "metadata author:phillips" > /dev/null + +$FATCAT get doi:10.1002/spe.659 > /dev/null + +$FATCAT search releases journal:"first monday" --entity-json --expand files | $FATCAT batch --limit 1 download > /dev/null -- cgit v1.2.3