瀏覽代碼

Do not use 'k' modifier in dd options.

Sergey Poznyakoff 18 年之前
父節點
當前提交
574022ab78
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/truncate.at

+ 1 - 1
tests/truncate.at

@@ -36,7 +36,7 @@ genfile --run 'tar -vcf bar foo baz' --checkpoint 10 --length 49995k --truncate
 echo Exit status: $?
 echo separator
 sleep 1
-dd if=/dev/zero of=foo bs=1k seek=49995 count=5 >/dev/null 2>&1
+dd if=/dev/zero of=foo bs=1024 seek=49995 count=5 >/dev/null 2>&1
 tar dvf bar],
 [1],
 [foo