copy_file: handle "cp /dev/foo file" (almost) compatibly to coreutils.
[oweals/busybox.git] / testsuite / cp / cp-dev-file
diff --git a/testsuite/cp/cp-dev-file b/testsuite/cp/cp-dev-file
new file mode 100644 (file)
index 0000000..055f0d9
--- /dev/null
@@ -0,0 +1,2 @@
+busybox cp /dev/null foo
+test -f foo