summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-12-05 13:37:38 -0500
committerSteve Dickson <steved@redhat.com>2018-12-10 13:38:35 -0500
commitb9fc99d5790283a02d27bebe911122698bee7f08 (patch)
treeaffee79350fa2ecb98f2b0b87fb5fda96a21929b /tests
parentb360257e4924a558a9337d6bdfa9122ed2840017 (diff)
downloadnfs-utils-b9fc99d5790283a02d27bebe911122698bee7f08.tar.gz
nfs.conf: allow empty assignments
A recent commit caused an error message (but didn't actually trigger an error) for a config file line like: foo = There is no good reason to treat this as an error, and we (SUSE) have established practice of expecting these to be accepted. Specifically "/etc/nfs.conf" includes "/etc/sysconfig/nfs" which contains lots of empty definitions. So remove the error message. Fixes: 1c2c18806800 ("nfs.conf: Removed buffer overruns") Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/nfsconf/01-errors.exp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/nfsconf/01-errors.exp b/tests/nfsconf/01-errors.exp
index 2bf1b8c..0b985b4 100644
--- a/tests/nfsconf/01-errors.exp
+++ b/tests/nfsconf/01-errors.exp
@@ -4,7 +4,6 @@ nfsconf: config error at 01-errors.conf:10: non-matched ']', ignoring until next
nfsconf: config error at 01-errors.conf:11: ignoring line not in a section
nfsconf: config error at 01-errors.conf:14: line not empty and not an assignment
nfsconf: config error at 01-errors.conf:15: missing tag in assignment
-nfsconf: config error at 01-errors.conf:16: missing value in assignment
nfsconf: config error at 01-errors.conf:18: unmatched quotes
[four]
four = foo = bar