From 5b360d8da327b38daf0c5b8874fbe55406b70ced Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 6 Aug 2016 19:38:25 -0500 Subject: Inline setup_inout(), test ftruncate() return value, move gettimeofday() before seek so seek time is included in total. --- tests/dd.test | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/dd.test') diff --git a/tests/dd.test b/tests/dd.test index 82214506..9da2108c 100755 --- a/tests/dd.test +++ b/tests/dd.test @@ -49,6 +49,9 @@ unlink softlink && rm -f file testing "if=file of=file (same file)" "dd if=input of=input $opt && [ -f input ] && cat input && echo 'yes'" "yes\n" "I WANT\n" "" +testing "same file notrunc" \ + "dd if=input of=input conv=notrunc $opt && cat input" \ + "I WANT\n" "I WANT\n" "" testing "with ibs obs bs" "dd ibs=2 obs=5 bs=9 $opt" "I WANT\n" "" "I WANT\n" testing "with ibs obs bs if" "dd ibs=2 obs=5 bs=9 if=input $opt" \ -- cgit v1.2.3