aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-12-02 01:43:18 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-12-02 01:43:18 +0000
commit1796e2c49507e701e18b09281478cc33131dbbd8 (patch)
treebf210b5802ea9d81820b7f955b8037c5f205a168 /testsuite
parent6672c8e480994a3d9c928ddedd0542c9ed9b3271 (diff)
downloadbusybox-1796e2c49507e701e18b09281478cc33131dbbd8.tar.gz
busybox-1796e2c49507e701e18b09281478cc33131dbbd8.tar.bz2
dd: add testsuite entry for write errors
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/dd/dd-reports-write-errors2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/dd/dd-reports-write-errors b/testsuite/dd/dd-reports-write-errors
new file mode 100644
index 000000000..492060073
--- /dev/null
+++ b/testsuite/dd/dd-reports-write-errors
@@ -0,0 +1,2 @@
+busybox dd if="$0" of=/dev/full 2>/dev/null || status=$?
+test $status = 1