unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 3b98c340736d69e25fd045a672e1429dab876e83 744 bytes (raw)
name: gnu/packages/patches/libaio-btrfs-test.patch 	 # note: path name is non-authoritative(*)

 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
 
These test cases fail on Btrfs, where O_DIRECT is not honored when the file has checksumming enabled. See https://patchwork.kernel.org/project/linux-btrfs/patch/5d52220b-177d-72d4-7825-dbe6cbf8722f@inwind.it/

diff --git a/harness/cases/18.t b/harness/cases/18.t
index e8dbcd1..3cf0f45 100644
--- a/harness/cases/18.t
+++ b/harness/cases/18.t
@@ -92,6 +92,7 @@ aio_worker(void *ptr)
 int
 test_main(void)
 {
+	return 3;
 	int i, fd, ret;
 	char *buffer = NULL;
 	pthread_t threads[THREADS_NUM];
diff --git a/harness/cases/21.t b/harness/cases/21.t
index 4164c02..30f85ea 100644
--- a/harness/cases/21.t
+++ b/harness/cases/21.t
@@ -56,6 +56,7 @@ open_temp_file()
 int
 test_main()
 {
+	return 3;
 	int fd, flags;
 	int ret;
 	io_context_t ctx;

debug log:

solving 3b98c34073 ...
found 3b98c34073 in https://yhetil.org/guix-patches/2b78f77667c89c0593a051c7abd5fb5c4f2ef5ae.1690779658.git.ryan@arctype.co/

applying [1/1] https://yhetil.org/guix-patches/2b78f77667c89c0593a051c7abd5fb5c4f2ef5ae.1690779658.git.ryan@arctype.co/
diff --git a/gnu/packages/patches/libaio-btrfs-test.patch b/gnu/packages/patches/libaio-btrfs-test.patch
new file mode 100644
index 0000000000..3b98c34073

1:18: space before tab in indent.
 	int i, fd, ret;
1:19: space before tab in indent.
 	char *buffer = NULL;
1:20: space before tab in indent.
 	pthread_t threads[THREADS_NUM];
1:30: space before tab in indent.
 	int fd, flags;
1:31: space before tab in indent.
 	int ret;
Checking patch gnu/packages/patches/libaio-btrfs-test.patch...
Applied patch gnu/packages/patches/libaio-btrfs-test.patch cleanly.
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.

index at:
100644 3b98c340736d69e25fd045a672e1429dab876e83	gnu/packages/patches/libaio-btrfs-test.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).