Skip to content

Commit

Permalink
chore(test: curl-upload): switch from 0x0 to keepsh
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed May 18, 2024
1 parent 22d8aa3 commit 75db906
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,22 @@ get_window_id() {
xdotool search --pid "$1" 2>/dev/null | tail -n 1
}

curl_upload_file() {
curl_upload_file_keepsh() {
FILEPATH="$1"
curl \
-F'file=@'"$FILEPATH" \
https://0x0.st
--upload-file "$FILEPATH" \
https://free.keep.sh
}

#curl_upload_file_0x0() {
# FILEPATH="$1"
# curl \
# -F'file=@'"$FILEPATH" \
# https://0x0.st
#}

curl_upload_file() {
curl_upload_file_keepsh "$1"
}

make_and_compare_screenshot() {
Expand Down

0 comments on commit 75db906

Please sign in to comment.