diff options
Diffstat (limited to 'tests/misc/truncate-dir-fail')
-rwxr-xr-x | tests/misc/truncate-dir-fail | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/misc/truncate-dir-fail b/tests/misc/truncate-dir-fail index d2ecf2fe6..fe33857a2 100755 --- a/tests/misc/truncate-dir-fail +++ b/tests/misc/truncate-dir-fail @@ -26,4 +26,7 @@ fi # truncate on dir not allowed truncate -s+0 . && fail=1 +# getting the size of a dir is not allowed +truncate -r. file && fail=1 + Exit $fail |