-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
test.sh
61 lines (52 loc) · 1.25 KB
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env bash
function run() {
go run "$@"
if [ $? -ne 0 ]
then
exit 3
fi
}
echo '###### service ####'
run ./service/get.go
echo '##### bucket ####'
# run ./bucket/delete.go
run ./bucket/put.go
run ./bucket/putACL.go
run ./bucket/putCORS.go
run ./bucket/putLifecycle.go
run ./bucket/putTagging.go
run ./bucket/get.go
run ./bucket/getACL.go
run ./bucket/getCORS.go
run ./bucket/getLifecycle.go
run ./bucket/getTagging.go
run ./bucket/getLocation.go
run ./bucket/head.go
run ./bucket/listMultipartUploads.go
run ./bucket/delete.go
run ./bucket/deleteCORS.go
run ./bucket/deleteLifecycle.go
run ./bucket/deleteTagging.go
echo '##### object ####'
run ./bucket/putCORS.go
run ./object/put.go
run ./object/uploadFile.go
run ./object/putACL.go
run ./object/append.go
run ./object/get.go
run ./object/sessionToken.go
run ./object/head.go
run ./object/getAnonymous.go
run ./object/getACL.go
run ./object/listParts.go
run ./object/options.go
run ./object/initiateMultipartUpload.go
run ./object/uploadPart.go
run ./object/completeMultipartUpload.go
run ./object/abortMultipartUpload.go
run ./object/delete.go
run ./object/deleteMultiple.go
run ./object/copy.go
run ./object/getWithPresignedURL.go
run ./object/putWithPresignedURL.go
run ./object/mock.go