teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0259-test-install-usr-libexec-vi-as-well.patch

594167
From e6dfbe67f94d60b889f3031ebb644ed262d7fe35 Mon Sep 17 00:00:00 2001
594167
From: Frantisek Sumsal <frantisek@sumsal.cz>
594167
Date: Sat, 16 Apr 2022 14:43:17 +0200
594167
Subject: [PATCH] test: install /usr/libexec/vi as well
594167
594167
since `/bin/vi` (at least on Fedora) is a shell wrapper which runs
594167
either `/bin/vim` or `/usr/libexec/vi` based on availability.
594167
594167
(cherry picked from commit 8afe2f53b25ca99bc5bd1ec0c5dff7e183712577)
594167
594167
Related: #2087652
594167
---
594167
 test/test-functions | 1 +
594167
 1 file changed, 1 insertion(+)
594167
594167
diff --git a/test/test-functions b/test/test-functions
594167
index 1306dcf260..9e171cba30 100644
594167
--- a/test/test-functions
594167
+++ b/test/test-functions
594167
@@ -225,6 +225,7 @@ DEBUGTOOLS=(
594167
     stty
594167
     tty
594167
     vi
594167
+    /usr/libexec/vi
594167
 )
594167
 
594167
 is_built_with_asan() {