aboutsummaryrefslogtreecommitdiff
path: root/testsuite/dd
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/dd')
-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