@@ -24,14 +24,23 @@ func TestAccArchiveFile_Resource_Basic(t *testing.T) {
24
24
Check : r .ComposeTestCheckFunc (
25
25
testAccArchiveFileSize (f , & fileSize ),
26
26
r .TestCheckResourceAttrPtr ("archive_file.foo" , "output_size" , & fileSize ),
27
+ r .TestCheckResourceAttr (
28
+ "archive_file.foo" , "output_md5" , "ea35f0444ea9a3d5641d8760bc2815cc" ,
29
+ ),
30
+ r .TestCheckResourceAttr (
31
+ "archive_file.foo" , "output_sha" , "019c79c4dc14dbe1edb3e467b2de6a6aad148717" ,
32
+ ),
33
+ r .TestCheckResourceAttr (
34
+ "archive_file.foo" , "output_sha256" , "3fb55c931a048943b8d7558dde7c2e4bfc8e04be33b1b55691053d1352391fa7" ,
35
+ ),
27
36
r .TestCheckResourceAttr (
28
37
"archive_file.foo" , "output_base64sha256" , "P7VckxoEiUO411WN3nwuS/yOBL4zsbVWkQU9E1I5H6c=" ,
29
38
),
30
39
r .TestCheckResourceAttr (
31
- "archive_file.foo" , "output_md5 " , "ea35f0444ea9a3d5641d8760bc2815cc " ,
40
+ "archive_file.foo" , "output_sha512 " , "57e2d073dce214609bd61113b90b0b2b7c75034047224d56e35f363c8f2662e3acd561eebf94826a67453411181eca7e1cbf15db1f2fdd496cf13df46b7848c3 " ,
32
41
),
33
42
r .TestCheckResourceAttr (
34
- "archive_file.foo" , "output_sha " , "019c79c4dc14dbe1edb3e467b2de6a6aad148717 " ,
43
+ "archive_file.foo" , "output_base64sha512 " , "V+LQc9ziFGCb1hETuQsLK3x1A0BHIk1W4182PI8mYuOs1WHuv5SCamdFNBEYHsp+HL8V2x8v3Uls8T30a3hIww== " ,
35
44
),
36
45
),
37
46
},
@@ -40,14 +49,23 @@ func TestAccArchiveFile_Resource_Basic(t *testing.T) {
40
49
Check : r .ComposeTestCheckFunc (
41
50
testAccArchiveFileSize (f , & fileSize ),
42
51
r .TestCheckResourceAttrPtr ("archive_file.foo" , "output_size" , & fileSize ),
52
+ r .TestCheckResourceAttr (
53
+ "archive_file.foo" , "output_md5" , "59fbc9e62af3cbc2f588f97498240dae" ,
54
+ ),
55
+ r .TestCheckResourceAttr (
56
+ "archive_file.foo" , "output_sha" , "ce4ee1450ab93ac86e11446649e44cea907b6568" ,
57
+ ),
58
+ r .TestCheckResourceAttr (
59
+ "archive_file.foo" , "output_sha256" , "5131387f97167da47aa741df3ab2c82f182f17c514c222538d34708d04e0756b" ,
60
+ ),
43
61
r .TestCheckResourceAttr (
44
62
"archive_file.foo" , "output_base64sha256" , "UTE4f5cWfaR6p0HfOrLILxgvF8UUwiJTjTRwjQTgdWs=" ,
45
63
),
46
64
r .TestCheckResourceAttr (
47
- "archive_file.foo" , "output_md5 " , "59fbc9e62af3cbc2f588f97498240dae " ,
65
+ "archive_file.foo" , "output_sha512 " , "eb33eb0f8cd8efe1a5a0b99acbd22ed22dbebb80817f8de6e8fed15c21c52240838d9bb46fb0938846c74f694425551ba60829a6396f91fcfe49d21a1e3bb409 " ,
48
66
),
49
67
r .TestCheckResourceAttr (
50
- "archive_file.foo" , "output_sha " , "ce4ee1450ab93ac86e11446649e44cea907b6568 " ,
68
+ "archive_file.foo" , "output_base64sha512 " , "6zPrD4zY7+GloLmay9Iu0i2+u4CBf43m6P7RXCHFIkCDjZu0b7CTiEbHT2lEJVUbpggppjlvkfz+SdIaHju0CQ== " ,
51
69
),
52
70
),
53
71
},
@@ -56,14 +74,23 @@ func TestAccArchiveFile_Resource_Basic(t *testing.T) {
56
74
Check : r .ComposeTestCheckFunc (
57
75
testAccArchiveFileSize (f , & fileSize ),
58
76
r .TestCheckResourceAttrPtr ("archive_file.foo" , "output_size" , & fileSize ),
77
+ r .TestCheckResourceAttr (
78
+ "archive_file.foo" , "output_md5" , "b73f64a383716070aa4a29563b8b14d4" ,
79
+ ),
80
+ r .TestCheckResourceAttr (
81
+ "archive_file.foo" , "output_sha" , "76d20a402eefd1cfbdc47886abd4e0909616c191" ,
82
+ ),
83
+ r .TestCheckResourceAttr (
84
+ "archive_file.foo" , "output_sha256" , "c9d07cc2dabc9caf6f43bed51fa613c281e6ca58cae3a8d6fae2094b00b3369a" ,
85
+ ),
59
86
r .TestCheckResourceAttr (
60
87
"archive_file.foo" , "output_base64sha256" , "ydB8wtq8nK9vQ77VH6YTwoHmyljK46jW+uIJSwCzNpo=" ,
61
88
),
62
89
r .TestCheckResourceAttr (
63
- "archive_file.foo" , "output_md5 " , "b73f64a383716070aa4a29563b8b14d4 " ,
90
+ "archive_file.foo" , "output_sha512 " , "b96ac6b9554a04473a733be36f190422bf7162b4afdb211a0f551713eadf4092459426750646c70383ce6c8b89171b88582a608e5841bfaaafa17004a2a2ca0a " ,
64
91
),
65
92
r .TestCheckResourceAttr (
66
- "archive_file.foo" , "output_sha " , "76d20a402eefd1cfbdc47886abd4e0909616c191 " ,
93
+ "archive_file.foo" , "output_base64sha512 " , "uWrGuVVKBEc6czvjbxkEIr9xYrSv2yEaD1UXE+rfQJJFlCZ1BkbHA4PObIuJFxuIWCpgjlhBv6qvoXAEoqLKCg== " ,
67
94
),
68
95
),
69
96
},
0 commit comments