Skip to content

Commit 95ab207

Browse files
committed
test: switch again to 0x0
1 parent 2759361 commit 95ab207

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

test/test.sh

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -90,22 +90,23 @@ get_window_id() {
9090
xdotool search --pid "$1" 2>/dev/null | tail -n 1
9191
}
9292

93-
curl_upload_file_keepsh() {
94-
FILEPATH="$1"
95-
curl \
96-
--upload-file "$FILEPATH" \
97-
https://free.keep.sh
98-
}
99-
100-
#curl_upload_file_0x0() {
93+
#curl_upload_file_keepsh() {
10194
# FILEPATH="$1"
10295
# curl \
103-
# -F'file=@'"$FILEPATH" \
104-
# https://0x0.st
96+
# --upload-file "$FILEPATH" \
97+
# https://free.keep.sh
10598
#}
10699

100+
curl_upload_file_0x0() {
101+
FILEPATH="$1"
102+
curl \
103+
-F'file=@'"$FILEPATH" \
104+
https://0x0.st
105+
}
106+
107107
curl_upload_file() {
108-
curl_upload_file_keepsh "$1"
108+
#curl_upload_file_keepsh "$1"
109+
curl_upload_file_0x0 "$1"
109110
}
110111

111112
make_and_compare_screenshot() {

0 commit comments

Comments
 (0)