~ubuntu-branches/ubuntu/maverick/kakasi/maverick

« back to all changes in this revision

Viewing changes to tests/kakasi-7

  • Committer: Bazaar Package Importer
  • Author(s): Keita Maehara
  • Date: 2010-03-21 15:27:39 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100321152739-f6qx1m9nfln7m3p1
Tags: 2.3.5~pre1+cvs20071101-1
* Maintainer release.
* New upstream snapshot (Closes: #184286, #162890, #273249, #273250,
  #545045).
* Updated Standards-Version to 3.8.4.
* Switch to dpkg-source 3.0 (quilt) format.
* Switch to debhelper 7.
* Updated references to the upstream URL.
* Now libkakasi2-dev is in section libdevel.
* Removed symlinks to undocumented(7).
* Added missing upstream docs.
* Moved kakasi-config to libkakasi2-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
#
 
3
# test for kuten bug
 
4
#
 
5
# $Id: kakasi-7,v 1.1 2006-09-21 07:36:34 knok Exp $
 
6
 
 
7
LOG=`pwd`/test-log
 
8
echo '  *** starting ' $0 >> $LOG
 
9
 
 
10
. env.sh
 
11
 
 
12
GNUECHO=/bin/echo
 
13
 
 
14
# a SPECIAL character KUTEN
 
15
out=`$GNUECHO -e '\241\242' | ../src/kakasi -ieuc -oeuc -w`
 
16
cmp=`$GNUECHO -e '\241\242'`
 
17
 
 
18
if [ ! "x$out" == "x$cmp" ]
 
19
then
 
20
      echo "failed." >> $LOG
 
21
      echo "output: $out" >> $LOG
 
22
      echo "expection: $cmp" >> $LOG
 
23
      exit 1
 
24
fi
 
25
 
 
26
exit 0