#!/bin/sh
set -e -u

cd "$AUTOPKGTEST_TMP"

export LANG=C

CAT=$(command -v cat)
cp $CAT .
echo "hello world!" > orig_file

bzexe ./cat 2>&1
./cat orig_file > test_file
diff orig_file test_file
