summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msgunfmt-csharp-1
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/tests/msgunfmt-csharp-1')
-rwxr-xr-xgettext-tools/tests/msgunfmt-csharp-116
1 files changed, 8 insertions, 8 deletions
diff --git a/gettext-tools/tests/msgunfmt-csharp-1 b/gettext-tools/tests/msgunfmt-csharp-1
index 34c1141..fbbd5cc 100755
--- a/gettext-tools/tests/msgunfmt-csharp-1
+++ b/gettext-tools/tests/msgunfmt-csharp-1
@@ -6,15 +6,15 @@
# Test whether we can compile and execute C# programs.
test "${CSHARP_CHOICE}" != no || {
echo "Skipping test: configured with --disable-csharp"
- exit 77
+ Exit 77
}
test "${BUILDCSHARP}" = yes || {
echo "Skipping test: C# compiler not found"
- exit 77
+ Exit 77
}
test "${TESTCSHARP}" = yes || {
echo "Skipping test: C# engine not found"
- exit 77
+ Exit 77
}
test -d mu-cs-1 || mkdir mu-cs-1
@@ -52,15 +52,15 @@ EOF
: ${MSGFMT=msgfmt}
GETTEXTCSHARPLIBDIR=../../../gettext-runtime/intl-csharp \
-${MSGFMT} --csharp -d mu-cs-1 -r prog -l fr mu-cs-1/fr.po || exit 1
+${MSGFMT} --csharp -d mu-cs-1 -r prog -l fr mu-cs-1/fr.po || Exit 1
: ${MSGUNFMT=msgunfmt}
GETTEXTCSHARPEXEDIR=../../src \
GETTEXTCSHARPLIBDIR=../../../gettext-runtime/intl-csharp \
-${MSGUNFMT} --csharp -d mu-cs-1 -r prog -l fr -o mu-cs-1/prog.out || exit 1
+${MSGUNFMT} --csharp -d mu-cs-1 -r prog -l fr -o mu-cs-1/prog.out || Exit 1
: ${MSGCAT=msgcat}
-${MSGCAT} -s -o mu-cs-1/prog.sort mu-cs-1/prog.out || exit 1
+${MSGCAT} -s -o mu-cs-1/prog.sort mu-cs-1/prog.out || Exit 1
cat <<\EOF > mu-cs-1/prog.ok
msgid ""
@@ -87,6 +87,6 @@ msgid "{0} is replaced by {1}."
msgstr "{1} remplace {0}."
EOF
: ${DIFF=diff}
-${DIFF} mu-cs-1/prog.ok mu-cs-1/prog.sort || exit 1
+${DIFF} mu-cs-1/prog.ok mu-cs-1/prog.sort || Exit 1
-exit 0
+Exit 0