Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/atf/dist/tools Add the system binary paths too ...



details:   https://anonhg.NetBSD.org/src/rev/13744e0a1f1e
branches:  trunk
changeset: 971420:13744e0a1f1e
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Apr 23 16:05:15 2020 +0000

description:
Add the system binary paths too since tests use them.

diffstat:

 external/bsd/atf/dist/tools/env.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c7432d350195 -r 13744e0a1f1e external/bsd/atf/dist/tools/env.cpp
--- a/external/bsd/atf/dist/tools/env.cpp       Thu Apr 23 15:55:14 2020 +0000
+++ b/external/bsd/atf/dist/tools/env.cpp       Thu Apr 23 16:05:15 2020 +0000
@@ -53,7 +53,7 @@
     if (val != NULL)
        return val;
     if (strcmp(n, "PATH") == 0)
-       return "/bin:/usr/bin";
+       return "/bin:/usr/bin:/sbin:/usr/sbin";
        
     throw tools::system_error(IMPL_NAME "::set",
                            "Cannot get environment variable '" + name +



Home | Main Index | Thread Index | Old Index