projects
/
platform
/
upstream
/
gettext.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 0.19.7
[platform/upstream/gettext.git]
/
gettext-tools
/
tests
/
format-ycp-1
diff --git
a/gettext-tools/tests/format-ycp-1
b/gettext-tools/tests/format-ycp-1
index
8cd9941
..
c010209
100755
(executable)
--- a/
gettext-tools/tests/format-ycp-1
+++ b/
gettext-tools/tests/format-ycp-1
@@
-1,11
+1,8
@@
#! /bin/sh
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of YCP format strings.
# Test recognition of YCP format strings.
-tmpfiles=""
-trap 'rm -fr $tmpfiles' 1 2 3 15
-
-tmpfiles="$tmpfiles f-y-1.data"
cat <<\EOF > f-y-1.data
# Valid: no argument
"abc%%def"
cat <<\EOF > f-y-1.data
# Valid: no argument
"abc%%def"
@@
-30,7
+27,6
@@
n=0
while read comment; do
read string
n=`expr $n + 1`
while read comment; do
read string
n=`expr $n + 1`
- tmpfiles="$tmpfiles f-y-1-$n.in f-y-1-$n.po"
cat <<EOF > f-y-1-$n.in
_(${string});
EOF
cat <<EOF > f-y-1-$n.in
_(${string});
EOF
@@
-60,6
+56,4
@@
EOF
rm -f f-y-1-$n.in f-y-1-$n.po
done < f-y-1.data
rm -f f-y-1-$n.in f-y-1-$n.po
done < f-y-1.data
-rm -fr $tmpfiles
-
exit 0
exit 0