summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-09-24 13:47:04 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2017-09-24 14:03:41 +0200
commitb9509c0fbc13679393389611a5c4b88b0324306a (patch)
tree0fdc411bb8beca88bc2c48899b87f7ceea9e5a27 /tests
parent62c63e03ec968f0a38fb6d05222336c4e738dcd2 (diff)
Fix defconfig srctree absolute/relative mixup bug
This code in zconf.l says !=, not ==. Thought the behavior seemed weird. if (!f && name != NULL && name[0] != '/') { env = getenv(SRCTREE); if (env) { sprintf(fullname, "%s/%s", env, name); f = fopen(fullname, "r"); } } return f; Thankfully only broken for a short while. Also gives much simpler code.
Diffstat (limited to 'tests')
-rw-r--r--tests/Kdefconfig_srctree2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Kdefconfig_srctree b/tests/Kdefconfig_srctree
index 3aa4505..d2591fa 100644
--- a/tests/Kdefconfig_srctree
+++ b/tests/Kdefconfig_srctree
@@ -1,5 +1,5 @@
config A
string
option defconfig_list
- default "/sub/defconfig_in_sub" # Assume this doesn't exist
+ default "sub/defconfig_in_sub" # Assume this doesn't exist
default "Kconfiglib/tests/defconfig_2"