Ignore:
Timestamp:
Feb 25, 2011, 9:26:54 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • 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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi-busybox/testsuite/all_sourcecode.tests

    r1765 r2725  
    33# Tests for the sourcecode base itself.
    44# Copyright 2006 by Mike Frysinger <vapier@gentoo.org>
    5 # Licensed under GPL v2, see file LICENSE for details.
     5# Licensed under GPLv2, see file LICENSE in this source tree.
    66
    77[ -n "$srcdir" ] || srcdir=$(pwd)
    8 . testing.sh
     8. ./testing.sh
    99
    1010
     
    1717
    1818#
     19# make sure all usage strings are properly escaped.  oftentimes people miss
     20# an escape sequence so we end up with:
     21# #define foo_usage \
     22#       " this line is ok" \
     23#       " as is this line"
     24#       " but this one is broken as the \ is missing from above"
     25#
     26${CROSS_COMPILE}cpp -dD -P $srcdir/../include/usage.h \
     27    | sed -e '/^#define/d' -e '/^$/d' > src.usage.escaped
     28testing "Usage strings escaped" "cat src.usage.escaped" "" "" ""
     29rm -f src.usage.escaped
     30
     31
     32#
    1933# verify the applet order is correct in applets.h, otherwise
    2034# applets won't be called properly.
    2135#
    22 sed -n -e '/^USE_[A-Z]*(APPLET/{s:,.*::;s:.*(::;s:"::g;p}' \
     36sed -n -e 's:^//::' -e '/^IF_[A-Z]*(APPLET/{s:,.*::;s:.*(::;s:"::g;p}' \
    2337    $srcdir/../include/applets.h > applet.order.current
    2438LC_ALL=C sort applet.order.current > applet.order.correct
     
    6074#
    6175find $srcdir/.. '(' -name '*.c' -o -name '*.h' ')' -print0 | xargs -0 \
    62     grep -E -e '\<(bcmp|bcopy|bzero|getwd|index|mktemp|rindex|utimes)\>[[:space:]]*\(' \
     76    grep -E -e '\<(bcmp|bcopy|bzero|getwd|index|mktemp|rindex|utime|sigblock|siggetmask|sigsetmask)\>[[:space:]]*\(' \
    6377    | sed -e "s:^$srcdir/\.\./::g" > src.obsolete.funcs
    6478testing "Obsolete function usage" "cat src.obsolete.funcs" "" "" ""
Note: See TracChangeset for help on using the changeset viewer.