diff options
| author | Chet Ramey <chet.ramey@case.edu> | 2018-05-22 16:51:07 -0400 |
|---|---|---|
| committer | Chet Ramey <chet.ramey@case.edu> | 2018-05-22 16:51:07 -0400 |
| commit | 9a51695bed07d37086c352372ac69d0a30039a6b (patch) | |
| tree | 4d0f57cba0dd1ec7a75aae56e18cfe9997d0b7a7 /tests/printf.tests | |
| parent | 7de27456f6494f5f9c11ea1c19024d0024f31112 (diff) | |
| download | bash-5.0-alpha.tar.gz | |
bash-5.0-alpha releasebash-5.0-alpha
Diffstat (limited to 'tests/printf.tests')
| -rw-r--r-- | tests/printf.tests | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/printf.tests b/tests/printf.tests index e72f5c8b..9dbac6f0 100644 --- a/tests/printf.tests +++ b/tests/printf.tests @@ -308,6 +308,9 @@ shopt -s nullglob extglob echo "x$(printf "%b" @(hugo))x" printf -v var "%b" @(hugo); echo "x${var}x" +# make sure that missing arguments are always handled like the empty string +printf "<%3s><%3b>\n" + # tests variable assignment with -v ${THIS_SH} ./printf1.sub @@ -316,4 +319,3 @@ ${THIS_SH} ./printf2.sub ${THIS_SH} ./printf3.sub ${THIS_SH} ./printf4.sub - |
