summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-10-27 06:36:40 -0600
committerEric Blake <ebb9@byu.net>2009-10-27 19:55:35 -0600
commitd6de2f198ef0f59f5210af0bf9bcf42687386a04 (patch)
treea1c5072f0b9aae40c24263d03e42ef92d81edbc9 /tests/Makefile.am
parent1a813420896317aecf5598f76c852195796e534b (diff)
downloadcoreutils-d6de2f198ef0f59f5210af0bf9bcf42687386a04.tar.xz
env, printenv: add -0/--null option
Allows for unambiguous processing when environment values (or even non-portable names!) contain newline. * src/env.c (longopts): Add new option. (usage): Document it. (main): Implement it. * src/printenv.c (longopts): New variable. (usage): Document new option. (main): Implement it. * doc/coreutils.texi (Common options): New macro optNull. (du invocation, env invocation, printenv invocation): Use it. * NEWS: Mention this. * tests/misc/env-null: New test. * tests/Makefile.am (TESTS): Run it.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 731f65783..eec31aed1 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -166,6 +166,7 @@ TESTS = \
misc/dircolors \
misc/df \
misc/dirname \
+ misc/env-null \
misc/expand \
misc/expr \
misc/factor \