diff options
| author | Jim Meyering <meyering@redhat.com> | 2008-06-16 13:03:07 +0200 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2008-06-16 13:42:01 +0200 |
| commit | 3de15598304c141bdac5a3545874bab035536d88 (patch) | |
| tree | 3dcf60ca0fce0f0cfd6631afb9917a8fc7315806 /tests/misc/chcon | |
| parent | address root cause of compilation failures: (diff) | |
| download | coreutils-3de15598304c141bdac5a3545874bab035536d88.tar.gz coreutils-3de15598304c141bdac5a3545874bab035536d88.zip | |
chcon: correct --verbose output to include newlines
* src/chcon.c (process_file): Append "\n" to --verbose diagnostic.
* tests/misc/chcon: Add a test for the above.
* NEWS: mention the bug fix
Reported by Carl D. Roth in http://bugzilla.redhat.com/451478.
Diffstat (limited to 'tests/misc/chcon')
| -rwxr-xr-x | tests/misc/chcon | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/misc/chcon b/tests/misc/chcon index f8caadae2..fefe0ec46 100755 --- a/tests/misc/chcon +++ b/tests/misc/chcon @@ -60,4 +60,8 @@ EOF compare out exp || fail=1 +chcon --verbose -u$u1 f > out || fail=1 +echo 'changing security context of `f'\' > exp +compare out exp || fail=1 + (exit $fail); exit $fail |
