summaryrefslogtreecommitdiff
path: root/app-shells/fish/files/3.3.1-sbin-path-sh-test.patch
blob: ce66e98eb12423168ef6a20db6ec30e4472c543d (plain)
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
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