This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

tst-gettext2: Better tests



The output from tst-gettext2 doesn't look right, I've created a file
with the expected output.  What do you think of this?  Shall I commit
it?

Andreas

2000-11-13  Andreas Jaeger  <aj@suse.de>

	* intl/tst-gettext2.sh: Check output against expected output.

	* intl/tst-gettext2.exp: New file.

============================================================
Index: intl/tst-gettext2.sh
--- intl/tst-gettext2.sh	2000/10/31 03:08:09	1.1
+++ intl/tst-gettext2.sh	2000/11/13 16:00:50
@@ -50,5 +50,7 @@
 ${common_objpfx}elf/ld.so --library-path $common_objpfx \
 ${objpfx}tst-gettext2 > ${objpfx}tst-gettext2.out ${objpfx}domaindir
 
+diff -q tst-gettext2.exp ${objpfx}tst-gettext2.out
+
 exit $?
 
============================================================
Index: intl/tst-gettext2.exp
--- intl/tst-gettext2.exp	created
+++ intl/tst-gettext2.exp	Mon Nov 13 16:48:10 2000	1.1
@@ -0,0 +1,6 @@
+String1 - Lang1: 1st string
+String2 - Lang1: 2nd string
+String1 - Lang2: 1st string
+String2 - Lang2: 2nd string
+String1 - First string for testing.
+String2 - Another string for testing.

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]