[PATCH] tests: fix error diagnostic

Bernhard Voelker <[email protected]>
Newsgroups gmane.comp.gnu.findutils.patches,gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
* 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.