findutils-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] tests: fix error diagnostic


From: Bernhard Voelker
Subject: [PATCH] tests: fix error diagnostic
Date: Sun, 28 Nov 2021 00:52:25 +0100

* find/testsuite/config/unix.exp (safe_path): Change $PATH to PATH
as the message refers to the name of the environment variable, i.e.,
not its value.
---
 find/testsuite/config/unix.exp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/find/testsuite/config/unix.exp b/find/testsuite/config/unix.exp
index a879c896..9541b5db 100644
--- a/find/testsuite/config/unix.exp
+++ b/find/testsuite/config/unix.exp
@@ -256,8 +256,8 @@ proc mkdir { dirname } {
 
 proc safe_path [ ] {
     if { [ path_setting_is_unsafe ] } {
-       warning { Cannot perform test as your $PATH environment variable 
includes a reference to the current directory or a directory name which is not 
absolute }
-       untested { skipping this test because your $PATH variable is wrongly 
set }
+       warning { Cannot perform test as your PATH environment variable 
includes a reference to the current directory or a directory name which is not 
absolute }
+       untested { skipping this test because your PATH variable is wrongly set 
}
        return 0
     } else {
        return 1
-- 
2.34.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]