#!/bin/sh -e

screen -D -m tcvt -c 3 /bin/sh -c 'seq 70; screen -X hardcopy'
if ! cmp debian/tests/hardcopy.expected hardcopy.0; then
    od -Ax -tx1 hardcopy.0
    exit 1
fi
