File: test-empty.sh

package info (click to toggle)
enca 1.21-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,948 kB
  • sloc: ansic: 10,297; sh: 5,858; xml: 2,132; makefile: 700; perl: 261
file content (9 lines) | stat: -rwxr-xr-x 323 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#! /bin/sh
# 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