diff options
Diffstat (limited to 'tests/misc')
-rwxr-xr-x | tests/misc/stat-printf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/misc/stat-printf b/tests/misc/stat-printf index 1b8dd85b1..13a63c4d9 100755 --- a/tests/misc/stat-printf +++ b/tests/misc/stat-printf @@ -43,6 +43,8 @@ my @Tests = ['end-pct', "--printf=% .", {OUT=>"%"}], ['pct-pct', "--printf=%% .", {OUT=>"%"}], + ['end-bs', "--printf='\\' .", {OUT=>'\\'}, + {ERR=>"$prog: warning: backslash at end of format\n"}], ['err-1', "--printf=%9% .", {EXIT => 1}, {ERR=>"$prog: %9%: invalid directive\n"}], |