aboutsummaryrefslogtreecommitdiff
path: root/testsuite/uuencode/uuencode-sets-standard-input-mode-correctly
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/uuencode/uuencode-sets-standard-input-mode-correctly')
-rw-r--r--testsuite/uuencode/uuencode-sets-standard-input-mode-correctly6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/uuencode/uuencode-sets-standard-input-mode-correctly b/testsuite/uuencode/uuencode-sets-standard-input-mode-correctly
new file mode 100644
index 000000000..0ccf23b59
--- /dev/null
+++ b/testsuite/uuencode/uuencode-sets-standard-input-mode-correctly
@@ -0,0 +1,6 @@
+saved_umask=$(umask)
+umask 0
+busybox uuencode foo </dev/null | head -n 1 | grep -q 666
+status=$?
+umask $saved_umask
+return $status