summaryrefslogtreecommitdiff
path: root/sys-apps/uutils-coreutils/files/uutils-coreutils-0.0.27-cow-tests.patch
blob: 1c9901aa47cd36abf588264161d5aabee3fa075e (plain)
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
https://github.com/uutils/coreutils/issues/6456
--- a/tests/by-util/test_cp.rs
+++ b/tests/by-util/test_cp.rs
@@ -2318,6 +2318,7 @@ fn test_cp_sparse_never_empty() {
 #[cfg(any(target_os = "linux", target_os = "android"))]
 #[test]
 fn test_cp_sparse_always_empty() {
+    return;
     for argument in ["--sparse=always", "--sparse=alway", "--sparse=al"] {
         let (at, mut ucmd) = at_and_ucmd!();
 
@@ -4026,6 +4027,7 @@ fn test_cp_default_virtual_file() {
 #[test]
 #[cfg(any(target_os = "linux", target_os = "android"))]
 fn test_cp_debug_reflink_auto_sparse_always_non_sparse_file_with_long_zero_sequence() {
+    return;
     let ts = TestScenario::new(util_name!());
 
     let buf: Vec<u8> = vec![0; 4096 * 4];
--- a/tests/by-util/test_cp.rs
+++ b/tests/by-util/test_cp.rs
@@ -2339,6 +2339,7 @@ fn test_cp_sparse_always_empty() {
 #[cfg(any(target_os = "linux", target_os = "android"))]
 #[test]
 fn test_cp_sparse_always_non_empty() {
+    return;
     let (at, mut ucmd) = at_and_ucmd!();
 
     const BUFFER_SIZE: usize = 4096 * 16 + 3;