summaryrefslogtreecommitdiffstats
path: root/tests/ts/fincore
diff options
context:
space:
mode:
authorRuediger Meier2017-06-14 00:14:13 +0200
committerKarel Zak2017-06-14 11:48:22 +0200
commitbda267627e47081e7eed769e9cb437cefb54188b (patch)
treee08d87e9b01acf9cb5d61da2fddf45c932d54de8 /tests/ts/fincore
parenttests: add more tests for line(1) (diff)
downloadkernel-qcow2-util-linux-bda267627e47081e7eed769e9cb437cefb54188b.tar.gz
kernel-qcow2-util-linux-bda267627e47081e7eed769e9cb437cefb54188b.tar.xz
kernel-qcow2-util-linux-bda267627e47081e7eed769e9cb437cefb54188b.zip
misc: POSIX usage dd, regarding unit suffixes
In POSIX we have only 'b' and 'k' (case-sensitive). In the real work, OSX was the only system I've found which does not understand capital 'K'. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/ts/fincore')
-rwxr-xr-xtests/ts/fincore/count2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/fincore/count b/tests/ts/fincore/count
index 0151016ee..0b6f24dfe 100755
--- a/tests/ts/fincore/count
+++ b/tests/ts/fincore/count
@@ -46,7 +46,7 @@ function check_dd_fs_feat
touch "$testf"
# NFS seems to fail for direct AND append
- _dd if=/dev/zero of="$testf" bs=1K count=2 oflag=direct,append &>/dev/null \
+ _dd if=/dev/zero of="$testf" bs=1k count=2 oflag=direct,append &>/dev/null \
|| ts_skip "unsupported: dd oflag=direct,append"
# TODO: Should we check for sparse file support?