source: MondoRescue/branches/3.2/mindi-busybox/testsuite/expand.tests@ 3232

Last change on this file since 3232 was 2725, checked in by Bruno Cornec, 13 years ago
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
  • Property svn:executable set to *
File size: 601 bytes
Line 
1#!/bin/sh
2# Copyright 2008 by Denys Vlasenko
3# Licensed under GPLv2, see file LICENSE in this source tree.
4
5. ./testing.sh
6test -f "$bindir/.config" && . "$bindir/.config"
7
8# testing "test name" "options" "expected result" "file input" "stdin"
9
10testing "expand" \
11 "expand" \
12 " 12345678 12345678\n" \
13 "" \
14 "\t12345678\t12345678\n"
15
16test x"$CONFIG_UNICODE_SUPPORT" = x"y" \
17&& test x"$CONFIG_UNICODE_USING_LOCALE" != x"y" \
18&& testing "expand with unicode characher 0x394" \
19 "expand" \
20 "Δ 12345ΔΔΔ 12345678\n" \
21 "" \
22 "Δ\t12345ΔΔΔ\t12345678\n"
23
24exit $FAILCOUNT
Note: See TracBrowser for help on using the repository browser.