You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-shells/fish/files/3.3.1-sbin-path-sh-test.patch

26 lines
808 B

From 1f73c8d923e41442cefd5a58498798971282c701 Mon Sep 17 00:00:00 2001
From: Georgy Yakovlev <ya@sysdump.net>
Date: Tue, 29 Jun 2021 09:55:14 -0700
Subject: [PATCH] sbin path sh test
---
tests/checks/type.fish | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/checks/type.fish b/tests/checks/type.fish
index 85a2d142a..6ce3a4f68 100644
--- a/tests/checks/type.fish
+++ b/tests/checks/type.fish
@@ -31,7 +31,7 @@ echo $status
# Test that we print a command path
type sh
# (we resolve the path, so if /bin is a symlink to /usr/bin this shows /usr/bin/sh)
-# CHECK: sh is {{.*}}/bin/sh
+# CHECK: sh is {{.*}}/{{s*}}bin/sh
# Test that we print a function definition.
# The exact definition and description here depends on the system, so we'll ignore the actual code.
--
2.32.0