Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/testsuite/uuencode.tests
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/testsuite/uuencode.tests
r1765 r2725 3 3 # unit test for uuencode to test functionality. 4 4 # Copyright 2006 by Erik Hovland <erik@hovland.org> 5 # Licensed under GPL v2, see file LICENSE for details.5 # Licensed under GPLv2, see file LICENSE in this source tree. 6 6 7 7 # AUDIT: Unit tests for uuencode 8 8 9 . testing.sh9 . ./testing.sh 10 10 11 11 # testing "test name" "options" "expected result" "file input" "stdin" … … 14 14 15 15 # Test setup of standard input 16 saved_umask=$(umask)17 16 umask 0 18 17 testing "uuencode sets standard input mode correctly" \ 19 18 "uuencode foo </dev/null | head -n 1 | grep -q 666 && echo yes" "yes\n" "" "" 20 umask $saved_umask19 umask 022 21 20 22 21 testing "uuencode correct encoding" "uuencode bb_uuenc_test.out" \
Note:
See TracChangeset
for help on using the changeset viewer.