patch/backport-Skip-ed-test-when-the-ed-utility-is-not-installed.patch
Xibo.Wang 3e3761cbac Bakport commits from upstream
1. Skip "ed" test when the ed utility is not installed
	https://git.savannah.gnu.org/gitweb/?p=patch.git;a=commit;h=a5b442c
2. Abort when cleaning up fails
	https://git.savannah.gnu.org/gitweb/?p=patch.git;a=commit;h=b7b028a
3. Don't crash when RLIMIT_NOFILE is set to RLIM_INFINITY
	https://git.savannah.gnu.org/gitweb/?p=patch.git;a=commit;h=61d7788
4. Avoid invalid memory access in context format diffs
	https://git.savannah.gnu.org/gitweb/?p=patch.git;a=commit;h=15b158d
5. Fix failed assertion 'outstate->after_newline'
	https://git.savannah.gnu.org/gitweb/?p=patch.git;a=commit;h=76e7758
6. Add missing-section tests to context-format test case
	https://git.savannah.gnu.org/gitweb/?p=patch.git;a=commit;h=78ed9de
7. Fix test for presence of BASH_LINENO[0]
	https://git.savannah.gnu.org/gitweb/?p=patch.git;a=commit;h=7623b2d
2022-12-30 16:04:49 +08:00

33 lines
656 B
Diff

From 78ee5267f712c38f3343964533fb9fb7c4f70539 Mon Sep 17 00:00:00 2001
From: Andreas Gruenbacher <agruen@gnu.org>
Date: Thu, 27 Jun 2019 11:09:31 +0200
Subject: [PATCH 1/8] Skip "ed" test when the ed utility is not installed
* tests/ed-style: Require ed.
Signed-off-by: Xibo.Wang <wangxb12@chinatelecom.cn>
Conflicts:
tests/ed-style
---
tests/ed-style | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/ed-style b/tests/ed-style
index ca8e958..9907cb6 100644
--- a/tests/ed-style
+++ b/tests/ed-style
@@ -6,7 +6,8 @@
. $srcdir/test-lib.sh
-require_cat
+require cat
+require ed
use_local_patch
use_tmpdir
--
1.8.3.1