Ashish Kumar Sinha
2e612b23d6
Add metadata in mc copy ( #2671 )
...
Example : mc cp --attr key1=value1,key2=value2
play/mybucket/burningman2011/ ~/latest/
2019-03-11 12:47:28 +05:30
Anis Elleuch
b72d2d9cc5
tests: Use rb instead of rm to clean test bucket ( #2708 )
...
rm command is not able to remove buckets anymore, so use the new rb
command instead.
2019-03-07 09:04:32 -08:00
Harshavardhana
b3229507a9
Fix functional tests to use --older-than ( #2706 )
...
Change missed in previous PR 1761b338f9
2019-03-06 02:33:07 -08:00
Harshavardhana
733d3c5d54
Avoid making Stat calls on listing ( #2650 )
2019-01-22 16:02:56 +05:30
Harshavardhana
e3b84ac010
With bracket characters in URL, curl requires globbing turned off ( #2627 )
...
This PR fixes an issue present when curl commands
are used with IPv6 SERVER_ENDPOINTs
2018-12-17 20:38:27 -08:00
Harshavardhana
d541a7f6ef
Add support for IPv6 endpoint in functional tests ( #2622 )
2018-12-12 17:43:48 -08:00
Harshavardhana
f3eaa54a32
Breaking change --config-folder is now --config-dir ( #2620 )
2018-12-05 14:10:36 -08:00
Harshavardhana
5117f74fce
Allow empty objects to be uploaded ( #2613 )
2018-11-28 17:14:07 +05:30
Harshavardhana
b7e87b623d
Add admin users ( #2554 )
2018-10-16 14:54:25 -07:00
Anis Elleuch
743d72ea1a
fix: Disable localization to enforce bytewise sorting in functional tests ( #2453 )
2018-05-30 09:40:42 +05:30
Anis Elleuch
10059459f3
tests: Fix test_find comparaison test ( #2455 )
...
`mc find alias/bucket` without trailing slash is actually printing 'alias/bucket' as
first element in the output, the thing which is not taken into consideration in test_find
test. This commit will ask `mc find` to list 'alias/bucket/' instead to have a similar
output as gnu `ls` cmd.
2018-05-29 18:12:27 -07:00
poornas
fe82b0381c
change encryption key parsing to allow spaces in sse-c key ( #2408 )
...
Also vendoring in minio-go updates
2018-03-14 02:47:14 -07:00
poornas
0ede95b65e
add encrypt option to cp, mirror,pipe,stat, cat and rm commands ( #2400 )
2018-03-08 17:18:41 +05:30
Nitish Tiwari
ea580b0b65
Add storage-class support ( #2403 )
...
This PR adds storage-class support for mc cp and mirror command.
Storage class values are passed via the -storage-class or
--sc flag.
Fixes #1859
2018-03-03 10:28:53 -08:00
kannappanr
336e7f58bf
Add negative test for presigned post policy ( #2302 )
...
Append objectname to the URL and make sure that it fails.
This is related to code coverage in minio/minio#5142
2017-12-01 10:05:31 +05:30
kannappanr
093ab6b034
Add success log in "config host add" tests ( #2306 )
...
Change the function name "fail" to "show_on_failure"
Add another function called "show_on_success" to handle certain
failure assert scenarios
Add missing Log success message for "test_config_host_add" and
"test_config_host_add_error" functions.
Fixes #2305
2017-11-14 18:44:13 -08:00
Bala FA
79a51e9afc
fix JSON format error in functional test ( #2294 )
...
Previously `error` field is not populated properly due to double
formatting error message into JSON string. This patch fixes the issue
by avoid second time formatting in `printf` command.
2017-10-24 12:21:25 -07:00
Harshavardhana
aa8d5ed0cc
Add newS3Config helper to auto-probe signature type. ( #2292 )
2017-10-20 13:51:56 -07:00
Harshavardhana
7ad9a36b9d
Add find basic functional test ( #2284 )
2017-10-13 13:51:12 +05:30
Bala FA
07e810fd51
Ignore test_watch_object() for mint in functional test ( #2267 )
2017-10-03 10:31:47 -07:00
Bala FA
be710ecb52
rename assert functions for correct meaning in functional tests ( #2266 )
2017-10-02 13:22:03 -07:00
A. Elleuch
4810ab8727
tests: Add negative put object & make bucket tests ( #2262 )
...
Add new negative tests to functional tests. For that purpose, two functions are
introduced. assert_success makes sure that the passed command returns 0 exit code
and raise an error otherwise. assert_failure makes sure that the passed
command fails and raises an error otherwise.
2017-10-01 11:24:35 -07:00
Bala FA
b1812ebe5a
add functional tests ( #2253 )
...
Functional tests are automatically run when `make test` is executed.
2017-09-19 12:31:00 -07:00