unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob b2a93ea9973570118dfe17d71bb372f16c040ff1 1041 bytes (raw)
name: gnu/packages/patches/strongswan-skip-tests.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
27
28
29
30
31
32
33
 
Delete some tests that fail to run in the build container.

diff -ur strongswan-5.6.1-original/src/libstrongswan/tests/suites/test_process.c strongswan-5.6.1/src/libstrongswan/tests/suites/test_process.c
--- strongswan-5.6.1-original/src/libstrongswan/tests/suites/test_process.c	2016-04-22 16:01:35.000000000 -0400
+++ strongswan-5.6.1/src/libstrongswan/tests/suites/test_process.c	2018-01-31 14:31:39.644634648 -0500
@@ -201,27 +201,9 @@

 	s = suite_create("process");

-	tc = tcase_create("return values");
-	tcase_add_test(tc, test_retval_true);
-	tcase_add_test(tc, test_retval_false);
-	suite_add_tcase(s, tc);
-
 	tc = tcase_create("not found");
 	tcase_add_test(tc, test_not_found);
 	suite_add_tcase(s, tc);

-	tc = tcase_create("echo");
-	tcase_add_test(tc, test_echo);
-	tcase_add_test(tc, test_echo_err);
-	suite_add_tcase(s, tc);
-
-	tc = tcase_create("env");
-	tcase_add_test(tc, test_env);
-	suite_add_tcase(s, tc);
-
-	tc = tcase_create("shell");
-	tcase_add_test(tc, test_shell);
-	suite_add_tcase(s, tc);
-
 	return s;
 }

debug log:

solving b2a93ea99 ...
found b2a93ea99 in https://yhetil.org/guix-patches/87tvv1dd6t.fsf@vany.ca/

applying [1/1] https://yhetil.org/guix-patches/87tvv1dd6t.fsf@vany.ca/
diff --git a/gnu/packages/patches/strongswan-skip-tests.patch b/gnu/packages/patches/strongswan-skip-tests.patch
new file mode 100644
index 000000000..b2a93ea99

1:14: space before tab in indent.
 	s = suite_create("process");
1:21: space before tab in indent.
 	tc = tcase_create("not found");
1:22: space before tab in indent.
 	tcase_add_test(tc, test_not_found);
1:23: space before tab in indent.
 	suite_add_tcase(s, tc);
1:38: space before tab in indent.
 	return s;
Checking patch gnu/packages/patches/strongswan-skip-tests.patch...
Applied patch gnu/packages/patches/strongswan-skip-tests.patch cleanly.
warning: 5 lines add whitespace errors.

index at:
100644 b2a93ea9973570118dfe17d71bb372f16c040ff1	gnu/packages/patches/strongswan-skip-tests.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).