From 6211629c4708ffbb4e5dcebb5572fb3fc5c0db96 Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Fri, 29 Nov 2024 14:56:42 +0100 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! ci: Add ci job to run wopi-validator-core --- tests/wopi-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/wopi-test.sh b/tests/wopi-test.sh index 9ad9dc7197..520bbfa9ba 100755 --- a/tests/wopi-test.sh +++ b/tests/wopi-test.sh @@ -17,7 +17,7 @@ curl $NEXTCLOUD_URL/status.php --max-time 5 --retry 5 --retry-delay 0 --retry-ma curl -X PUT -u $USERNAME:$PASSWORD $NEXTCLOUD_URL/remote.php/webdav/$FILENAME.odt -s PROPFIND_RESULT=$(curl -X PROPFIND -u $USERNAME:$PASSWORD $NEXTCLOUD_URL/remote.php/webdav/$FILENAME.odt --data '' -s) -FILE_ID=$(echo $PROPFIND_RESULT | ggrep -ohE '(.*)' | cut -d'>' -f 2 | cut -d'<' -f 1) +FILE_ID=$(echo $PROPFIND_RESULT | grep -ohE '(.*)' | cut -d'>' -f 2 | cut -d'<' -f 1) COOKIEJAR=/tmp/cookie-jar rm -f $COOKIEJAR @@ -37,4 +37,4 @@ WOPI_URL="$NEXTCLOUD_URL/index.php/apps/richdocuments/wopi/files/$FILE_ID" echo "WOPI URL: $WOPI_URL" echo "WOPI token generated: $WOPI_TOKEN" -docker run --add-host nextcloud.local:${HOST_IP} --rm tylerbutler/wopi-validator -- -w $WOPI_URL -t $WOPI_TOKEN -l 0 "$@" \ No newline at end of file +docker run --add-host nextcloud.local:${HOST_IP} --rm tylerbutler/wopi-validator -- -w $WOPI_URL -t $WOPI_TOKEN -l 0 "$@"