diff options
Diffstat (limited to 'tests/dd.test')
-rwxr-xr-x | tests/dd.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/dd.test b/tests/dd.test index 9da2108c..1ab06d45 100755 --- a/tests/dd.test +++ b/tests/dd.test @@ -13,8 +13,9 @@ opt="2>/dev/null" # Test suffixed number parsing; `count` is representative. testing "count=2" "dd if=input count=2 ibs=1 $opt" "hi" "high\n" "" testing "count= 2" "dd if=input 'count= 2' ibs=1 $opt" "hi" "high\n" "" -testing "count=0x2" "dd if=input 'count=0x2' ibs=1 $opt" "hi" "high\n" "" -testing "count=-2" "dd if=input 'count=-2' ibs=1 2>&1" "dd: invalid number '-2'\n" "" "" +SKIP_HOST=1 testing "count=0x2" "dd if=input 'count=0x2' ibs=1 $opt" "hi" \ + "high\n" "" +testing "count=-2" "dd if=input 'count=-2' ibs=1 2>/dev/null || echo errored" "errored\n" "" "" testing "if=(file)" "dd if=input $opt" "I WANT\n" "I WANT\n" "" testing "of=(file)" "dd of=file $opt && cat file" "I WANT\n" "" "I WANT\n" |