diff options
author | Matt Kraai <kraai@debian.org> | 2001-10-30 23:11:20 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-10-30 23:11:20 +0000 |
commit | 3889078dbe09a9d85b359e9c0c0c225e0bbea343 (patch) | |
tree | e258582c0f14f06750e480e2c244260e79860fd0 /testsuite/dd | |
parent | 999623e9736d21177d1f437679b334e0347a6e0f (diff) |
Merge test suite.
Diffstat (limited to 'testsuite/dd')
-rw-r--r-- | testsuite/dd/dd-accepts-if | 2 | ||||
-rw-r--r-- | testsuite/dd/dd-accepts-of | 2 | ||||
-rw-r--r-- | testsuite/dd/dd-copies-from-standard-input-to-standard-output | 1 | ||||
-rw-r--r-- | testsuite/dd/dd-prints-count-to-standard-error | 2 |
4 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/dd/dd-accepts-if b/testsuite/dd/dd-accepts-if new file mode 100644 index 000000000..03d1af853 --- /dev/null +++ b/testsuite/dd/dd-accepts-if @@ -0,0 +1,2 @@ +echo I WANT >foo +test "$(busybox dd if=foo 2>/dev/null)" = "I WANT" diff --git a/testsuite/dd/dd-accepts-of b/testsuite/dd/dd-accepts-of new file mode 100644 index 000000000..84405e622 --- /dev/null +++ b/testsuite/dd/dd-accepts-of @@ -0,0 +1,2 @@ +echo I WANT | busybox dd of=foo 2>/dev/null +echo I WANT | cmp foo - diff --git a/testsuite/dd/dd-copies-from-standard-input-to-standard-output b/testsuite/dd/dd-copies-from-standard-input-to-standard-output new file mode 100644 index 000000000..d890eb04c --- /dev/null +++ b/testsuite/dd/dd-copies-from-standard-input-to-standard-output @@ -0,0 +1 @@ +test "$(echo I WANT | busybox dd 2>/dev/null)" = "I WANT" diff --git a/testsuite/dd/dd-prints-count-to-standard-error b/testsuite/dd/dd-prints-count-to-standard-error new file mode 100644 index 000000000..2187dc027 --- /dev/null +++ b/testsuite/dd/dd-prints-count-to-standard-error @@ -0,0 +1,2 @@ +echo I WANT | busybox dd of=foo >/dev/null 2>bar +grep -q records bar |