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/09738d0af13f
branches:  trunk
changeset: 1009455:09738d0af13f
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 fcbc6a858806 -r 09738d0af13f 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