Magellan Linux

Annotation of /tags/mkinitrd-6_3_1/busybox/testsuite/expand.tests

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1123 - (hide annotations) (download)
Wed Aug 18 21:56:57 2010 UTC (14 years, 1 month ago) by niro
Original Path: trunk/mkinitrd-magellan/busybox/testsuite/expand.tests
File size: 594 byte(s)
-updated to busybox-1.17.1
1 niro 984 #!/bin/sh
2     # Copyright 2008 by Denys Vlasenko
3     # Licensed under GPL v2, see file LICENSE for details.
4    
5     . ./testing.sh
6 niro 1123 test -f "$bindir/.config" && . "$bindir/.config"
7 niro 984
8     # testing "test name" "options" "expected result" "file input" "stdin"
9    
10     testing "expand" \
11     "expand" \
12     " 12345678 12345678\n" \
13     "" \
14 niro 1123 "\t12345678\t12345678\n"
15 niro 984
16 niro 1123 test x"$CONFIG_UNICODE_SUPPORT" = x"y" \
17     && test x"$CONFIG_UNICODE_USING_LOCALE" != x"y" \
18     && testing "expand with unicode characher 0x394" \
19 niro 984 "expand" \
20     "Δ 12345ΔΔΔ 12345678\n" \
21     "" \
22 niro 1123 "Δ\t12345ΔΔΔ\t12345678\n"
23 niro 984
24     exit $FAILCOUNT

Properties

Name Value
svn:executable *