dd: add testsuite entry for write errors
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 2 Dec 2007 01:43:18 +0000 (01:43 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 2 Dec 2007 01:43:18 +0000 (01:43 -0000)
testsuite/dd/dd-reports-write-errors [new file with mode: 0644]

diff --git a/testsuite/dd/dd-reports-write-errors b/testsuite/dd/dd-reports-write-errors
new file mode 100644 (file)
index 0000000..4920600
--- /dev/null
@@ -0,0 +1,2 @@
+busybox dd if="$0" of=/dev/full 2>/dev/null || status=$?
+test $status = 1