#! /bin/sh
# Test escape character handling in gencat.
-# Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
#
sample3:\97\\92è\95\:
sample4:TEST TAB:
sample5:\8b@\94\ \8f\\8eí\97Þ:
+double slash\
+another line
EOF
res=$?
cat <<EOF |
-#define AnotherSet 0x2 /* *standard input*:11 */
-#define AnotherFOO 0x1 /* *standard input*:12 */
+#define AnotherSet 0x2 /* *standard input*:13 */
+#define AnotherFOO 0x1 /* *standard input*:14 */
EOF
cmp ${common_objpfx}catgets/test-gencat.h - || res=1