end
def test_file_to_file_no_overwrite_file
+ skip "Waiting unitl #4534 is implemented"
File.open './tmp/foo', 'wb' do |f|
f.write 'baz'
end
out, err = capture_subprocess_io do
assert_arv_get false, @@foo_manifest_locator + '/foo', 'tmp/foo'
end
-# assert_match /^ERROR:/, err
+ assert_match /Error:/, err
assert_equal '', out
assert_equal 'baz', IO.read('tmp/foo')
end
def test_file_to_file_no_overwrite_file_in_dir
+ skip "Waiting unitl #4534 is implemented"
File.open './tmp/foo', 'wb' do |f|
f.write 'baz'
end
out, err = capture_subprocess_io do
assert_arv_get false, @@foo_manifest_locator + '/', 'tmp/'
end
-# assert_match /^ERROR:/, err
+ assert_match /Error:/, err
assert_equal '', out
assert_equal 'baz', IO.read('tmp/foo')
end