aboutsummaryrefslogtreecommitdiff
path: root/lib/enca/test/test-empty.sh
blob: 1faf3954731e42abd9db801eda2fa2f6b7e2e28f (plain)
1
2
3
4
5
6
7
8
9
10
#! /bin/sh
# @(#) $Id: test-empty.sh,v 1.4 2003/11/17 12:27:39 yeti Exp $
# Purpose: check how enca reacts on various incorrect inputs
. $srcdir/setup.sh
# These should succeede
$ENCA -L cs -x koi8cs2 </dev/null >/dev/null 2>&1 || DIE=1
$ENCA -L ru -x anoldoak </dev/null >/dev/null 2>&1 || DIE=1
# These should fail.
$ENCA -L pl </dev/null >/dev/null 2>&1 && DIE=1
. $srcdir/finish.sh