[Bug 228299] usr.sbin/sysrc: Specifying multiple -f flags does not yield result for every specified flags

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 16 16:34:59 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228299

            Bug ID: 228299
           Summary: usr.sbin/sysrc: Specifying multiple -f flags does not
                    yield result for every specified flags
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-qa
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs at FreeBSD.org
          Reporter: 0mp at FreeBSD.org
             Flags: maintainer-feedback?

Here's a script to reproduce this issue:

> directory="$(mktemp -d)"
> echo 'A=x' > "$directory/x.txt"
> echo 'A=y' > "$directory/y.txt"
> echo "Actual result of \"sysrc -n -f \"$directory/x.txt\" -f \"$directory/y.txt\" A\":"
> sysrc -n -f "$directory/x.txt" -f "$directory/y.txt" A
> echo Expected:
> echo x
> echo y

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list