From c0d80ab99628cd893ca825b13352a6c60a0baa05 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 18 Apr 2017 22:42:38 +0200 Subject: [PATCH] Tighten MANPATH test This is to fix tests on Travis, since that stores the commit message in an environment variable. `env | grep MANPATH` of course picks it up and generates unwanted output. Yes. --- tests/test3.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test3.in b/tests/test3.in index 26e496bce..81a8765e7 100644 --- a/tests/test3.in +++ b/tests/test3.in @@ -272,6 +272,6 @@ env DISPLAY="localhost:0.0" ../test/root/bin/fish -c 'echo Elements in DISPLAY: # Exported arrays should use record separator, with a few exceptions. So we can use an arbitrary variable for this. env FOO=one\x1etwo\x1ethree\x1efour ../test/root/bin/fish -c 'echo Elements in FOO: (count $FOO)' # some must use colon separators! -set -lx MANPATH man1 man2 man3 ; env | grep MANPATH +set -lx MANPATH man1 man2 man3 ; env | grep '^MANPATH=' true