projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1 from curoverse/master
[arvados.git]
/
sdk
/
cli
/
test
/
test_arv-put.rb
diff --git
a/sdk/cli/test/test_arv-put.rb
b/sdk/cli/test/test_arv-put.rb
index 2f20e18440a2ff61dde6b748d3b327587530b142..73513db56cb17ee5f6d88d151205f437e6d22107 100644
(file)
--- a/
sdk/cli/test/test_arv-put.rb
+++ b/
sdk/cli/test/test_arv-put.rb
@@
-22,6
+22,8
@@
class TestArvPut < Minitest::Test
end
def test_raw_stdin
end
def test_raw_stdin
+ skip "Waiting unitl #4534 is implemented"
+
out, err = capture_subprocess_io do
r,w = IO.pipe
wpid = fork do
out, err = capture_subprocess_io do
r,w = IO.pipe
wpid = fork do
@@
-39,6
+41,8
@@
class TestArvPut < Minitest::Test
end
def test_raw_file
end
def test_raw_file
+ skip "Waiting unitl #4534 is implemented"
+
out, err = capture_subprocess_io do
assert arv_put('--raw', './tmp/foo')
end
out, err = capture_subprocess_io do
assert arv_put('--raw', './tmp/foo')
end
@@
-48,6
+52,8
@@
class TestArvPut < Minitest::Test
end
def test_raw_empty_file
end
def test_raw_empty_file
+ skip "Waiting unitl #4534 is implemented"
+
out, err = capture_subprocess_io do
assert arv_put('--raw', './tmp/empty_file')
end
out, err = capture_subprocess_io do
assert arv_put('--raw', './tmp/empty_file')
end
@@
-77,6
+83,8
@@
class TestArvPut < Minitest::Test
end
def test_filename_arg_with_empty_file
end
def test_filename_arg_with_empty_file
+ skip "Waiting unitl #4534 is implemented"
+
out, err = capture_subprocess_io do
assert arv_put('--filename', 'foo', './tmp/empty_file')
end
out, err = capture_subprocess_io do
assert arv_put('--filename', 'foo', './tmp/empty_file')
end
@@
-86,6
+94,8
@@
class TestArvPut < Minitest::Test
end
def test_as_stream
end
def test_as_stream
+ skip "Waiting unitl #4534 is implemented"
+
out, err = capture_subprocess_io do
assert arv_put('--as-stream', './tmp/foo')
end
out, err = capture_subprocess_io do
assert arv_put('--as-stream', './tmp/foo')
end
@@
-95,6
+105,8
@@
class TestArvPut < Minitest::Test
end
def test_progress
end
def test_progress
+ skip "Waiting unitl #4534 is implemented"
+
out, err = capture_subprocess_io do
assert arv_put('--manifest', '--progress', './tmp/foo')
end
out, err = capture_subprocess_io do
assert arv_put('--manifest', '--progress', './tmp/foo')
end
@@
-103,6
+115,8
@@
class TestArvPut < Minitest::Test
end
def test_batch_progress
end
def test_batch_progress
+ skip "Waiting unitl #4534 is implemented"
+
out, err = capture_subprocess_io do
assert arv_put('--manifest', '--batch-progress', './tmp/foo')
end
out, err = capture_subprocess_io do
assert arv_put('--manifest', '--batch-progress', './tmp/foo')
end
@@
-122,14
+136,20
@@
class TestArvPut < Minitest::Test
end
def test_read_from_implicit_stdin
end
def test_read_from_implicit_stdin
+ skip "Waiting unitl #4534 is implemented"
+
test_read_from_stdin(specify_stdin_as='--manifest')
end
def test_read_from_dev_stdin
test_read_from_stdin(specify_stdin_as='--manifest')
end
def test_read_from_dev_stdin
+ skip "Waiting unitl #4534 is implemented"
+
test_read_from_stdin(specify_stdin_as='/dev/stdin')
end
def test_read_from_stdin(specify_stdin_as='-')
test_read_from_stdin(specify_stdin_as='/dev/stdin')
end
def test_read_from_stdin(specify_stdin_as='-')
+ skip "Waiting unitl #4534 is implemented"
+
out, err = capture_subprocess_io do
r,w = IO.pipe
wpid = fork do
out, err = capture_subprocess_io do
r,w = IO.pipe
wpid = fork do
@@
-148,16
+168,22
@@
class TestArvPut < Minitest::Test
end
def test_read_from_implicit_stdin_implicit_manifest
end
def test_read_from_implicit_stdin_implicit_manifest
+ skip "Waiting unitl #4534 is implemented"
+
test_read_from_stdin_implicit_manifest(specify_stdin_as=nil,
expect_filename='stdin')
end
def test_read_from_dev_stdin_implicit_manifest
test_read_from_stdin_implicit_manifest(specify_stdin_as=nil,
expect_filename='stdin')
end
def test_read_from_dev_stdin_implicit_manifest
+ skip "Waiting unitl #4534 is implemented"
+
test_read_from_stdin_implicit_manifest(specify_stdin_as='/dev/stdin')
end
def test_read_from_stdin_implicit_manifest(specify_stdin_as='-',
expect_filename=nil)
test_read_from_stdin_implicit_manifest(specify_stdin_as='/dev/stdin')
end
def test_read_from_stdin_implicit_manifest(specify_stdin_as='-',
expect_filename=nil)
+ skip "Waiting unitl #4534 is implemented"
+
expect_filename = expect_filename || specify_stdin_as.split('/').last
out, err = capture_subprocess_io do
r,w = IO.pipe
expect_filename = expect_filename || specify_stdin_as.split('/').last
out, err = capture_subprocess_io do
r,w = IO.pipe