#!/bin/sh

set -eu

. /usr/share/geordi/_functions

info "Running test binary"


debug "Copying libs for test binary"
copy_libs_for_binary "${RT}/t"

debug "Checking output of test binary"
if [ "$(chroot "${RT}" /t)" != "9" ]
then
	error "Test binary '${RT}/t' did not return '9'"
fi
