creds: minor cleanups for --newline= handling (#41329)
Prompted by #41325 Fixes #41348
This commit is contained in:
@@ -114,10 +114,9 @@ run_with_cred_compare "mycred:" "" cat mycred
|
||||
run_with_cred_compare "mycred:\n" "\n" cat mycred
|
||||
run_with_cred_compare "mycred:foo" "foo" cat mycred
|
||||
run_with_cred_compare "mycred:foo" "foofoofoo" cat mycred mycred mycred
|
||||
# Note: --newline= does nothing when stdout is not a tty, which is the case here
|
||||
run_with_cred_compare "mycred:foo" "foo" --newline=yes cat mycred
|
||||
run_with_cred_compare "mycred:foo" "foo" --newline=no cat mycred
|
||||
run_with_cred_compare "mycred:foo" "foo" --newline=auto cat mycred
|
||||
run_with_cred_compare "mycred:foo" "foo" --newline=no cat mycred
|
||||
run_with_cred_compare "mycred:foo" "foo\n" --newline=yes cat mycred
|
||||
run_with_cred_compare "mycred:foo" "foo" --transcode=no cat mycred
|
||||
run_with_cred_compare "mycred:foo" "foo" --transcode=0 cat mycred
|
||||
run_with_cred_compare "mycred:foo" "foo" --transcode=false cat mycred
|
||||
|
||||
Reference in New Issue
Block a user