aboutsummaryrefslogtreecommitdiff
path: root/testsuite/uuencode.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/uuencode.tests')
-rwxr-xr-xtestsuite/uuencode.tests3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuite/uuencode.tests b/testsuite/uuencode.tests
index 6556e60d1..adb2d3390 100755
--- a/testsuite/uuencode.tests
+++ b/testsuite/uuencode.tests
@@ -13,11 +13,10 @@
13# test can create a file "actual" instead of writing to stdout 13# test can create a file "actual" instead of writing to stdout
14 14
15# Test setup of standard input 15# Test setup of standard input
16saved_umask=$(umask)
17umask 0 16umask 0
18testing "uuencode sets standard input mode correctly" \ 17testing "uuencode sets standard input mode correctly" \
19 "uuencode foo </dev/null | head -n 1 | grep -q 666 && echo yes" "yes\n" "" "" 18 "uuencode foo </dev/null | head -n 1 | grep -q 666 && echo yes" "yes\n" "" ""
20umask $saved_umask 19umask 022
21 20
22testing "uuencode correct encoding" "uuencode bb_uuenc_test.out" \ 21testing "uuencode correct encoding" "uuencode bb_uuenc_test.out" \
23"begin 644 bb_uuenc_test.out\nM5&AE(&9A<W0@9W)E>2!F;W@@:G5M<&5D(&]V97(@=&AE(&QA>GD@8G)O=VX@\n%9&]G+@H\`\n\`\nend\n" \ 22"begin 644 bb_uuenc_test.out\nM5&AE(&9A<W0@9W)E>2!F;W@@:G5M<&5D(&]V97(@=&AE(&QA>GD@8G)O=VX@\n%9&]G+@H\`\n\`\nend\n" \