X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gettext-tools%2Ftests%2Fformat-tcl-1;h=feecaaa77a1577d59d92d6498f3da672bf1eb979;hb=refs%2Fchanges%2F82%2F71082%2F1;hp=02e0cd2826709279ee5f7bc56d525dd8782ff8b4;hpb=5d61132f836323aaf2879e04abc9d4056db248a2;p=platform%2Fupstream%2Fgettext.git diff --git a/gettext-tools/tests/format-tcl-1 b/gettext-tools/tests/format-tcl-1 index 02e0cd2..feecaaa 100755 --- a/gettext-tools/tests/format-tcl-1 +++ b/gettext-tools/tests/format-tcl-1 @@ -1,11 +1,8 @@ #! /bin/sh +. "${srcdir=.}/init.sh"; path_prepend_ . ../src # Test recognition of Tcl format strings. -tmpfiles="" -trap 'rm -fr $tmpfiles' 1 2 3 15 - -tmpfiles="$tmpfiles f-t-1.data" cat <<\EOF > f-t-1.data # Valid: no argument "abc%%" @@ -106,7 +103,6 @@ n=0 while read comment; do read string n=`expr $n + 1` - tmpfiles="$tmpfiles f-t-1-$n.in f-t-1-$n.po" escape_dollars='s/\$/\\\$/g' string=`echo "$string" | sed -e "$escape_dollars"` cat < f-t-1-$n.in @@ -138,6 +134,4 @@ EOF rm -f f-t-1-$n.in f-t-1-$n.po done < f-t-1.data -rm -fr $tmpfiles - exit 0