summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2007-12-02 01:43:18 +0000
committerDenis Vlasenko2007-12-02 01:43:18 +0000
commit1796e2c49507e701e18b09281478cc33131dbbd8 (patch)
treebf210b5802ea9d81820b7f955b8037c5f205a168
parent6672c8e480994a3d9c928ddedd0542c9ed9b3271 (diff)
downloadbusybox-1796e2c49507e701e18b09281478cc33131dbbd8.zip
busybox-1796e2c49507e701e18b09281478cc33131dbbd8.tar.gz
dd: add testsuite entry for write errors
-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 0000000..4920600
--- /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