void-packages/srcpkgs/burp2-server/patches/tests-disable-failing.patch
Đoàn Trần Công Danh c6ce65d3d0 srcpkgs/b*: convert patches to -Np1
```sh

git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" |
while read template; do
	for p in ${template%/template}/patches/*; do
		sed -i '
			\,^[+-][+-][+-] /dev/null,b
			/^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b
			s,^[*][*][*] ,&a/,
			/^--- /{
				s,\(^--- \)\(./\)*,\1a/,
				s,[.-][Oo][Rr][Ii][Gg]\([	/]\),\1,
				s/[.-][Oo][Rr][Ii][Gg]$//
				s/[.]patched[.]\([^.]\)/.\1/
				h
			}
			/^+++ -/{
				g
				s/^--- a/+++ b/
				b
			}
			s,\(^+++ \)\(./\)*,\1b/,
		' "$p"
	done
	sed -i '/^patch_args=/d' $template
done
```
2021-06-20 13:17:29 +07:00

27 lines
848 B
Diff

disable failing tests (3 of 395), probably because of chroot.
--- a/utest/main.c 2021-05-02 05:04:07.000000000 +0200
+++ b/utest/main.c 2021-05-09 23:36:25.321692936 +0200
@@ -28,14 +28,12 @@
srunner_add_suite(sr, suite_base64());
#ifdef HAVE_ACL
#ifndef HAVE_DARWIN_OS
- srunner_add_suite(sr, suite_client_acl());
#endif
#endif
srunner_add_suite(sr, suite_client_auth());
#ifdef HAVE_ACL
srunner_add_suite(sr, suite_client_extra_comms());
#ifdef HAVE_XATTR
- srunner_add_suite(sr, suite_client_extrameta());
#endif
#endif
srunner_add_suite(sr, suite_client_monitor_lline());
@@ -123,7 +121,6 @@
srunner_add_suite(sr, suite_server_resume());
srunner_add_suite(sr, suite_server_run_action());
srunner_add_suite(sr, suite_server_sdirs());
- srunner_add_suite(sr, suite_server_timer());
#endif
srunner_run_all(sr, CK_ENV);