Skip to content

Commit 55c2855

Browse files
committed
Disable upload on failure, transfer.sh is not existing anylonger
Signed-off-by: Stefan Marr <[email protected]>
1 parent a5f23d3 commit 55c2855

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

tests/replay/test.sh

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
# quit on first error
33
set -e
44

5-
function cleanup()
6-
{
7-
tar -cjf traces.tar.bz2 traces
8-
curl --upload-file ./traces.tar.bz2 https://transfer.sh/traces.tar.bz2
9-
}
10-
11-
trap cleanup EXIT
5+
# TODO: replace transfer.sh with another service, if available.
6+
# function cleanup()
7+
# {
8+
# tar -cjf traces.tar.bz2 traces
9+
# curl --upload-file ./traces.tar.bz2 https://transfer.sh/traces.tar.bz2
10+
# }
11+
#
12+
# trap cleanup EXIT
1213

1314
if [ "$1" = "1" ]
1415
then

0 commit comments

Comments
 (0)