Files
xenocara/app/xauth/tests/setup-sourced
matthieu 31feb85522 Update xauth to version 1.1.2
Bug fixes.
2022-06-25 17:26:35 +00:00

27 lines
523 B
Plaintext

#
# This script gets sourced by every test to setup a common environment.
#
# Force all output to be standard english
export LANG=C
# Define the name of the authority file, which we use during test.
export XAUTHORITY=${DATADIR:-/tmp}/.Xauthority
# Start a new authority file
rm -f $XAUTHORITY ; touch $XAUTHORITY
xauth()
{
echo "> xauth" "$@"
../xauth "$@"
echo " exits with $?"
}
xauth_silent()
{
echo "> xauth" "some silent commands which should not be logged..."
../xauth "$@"
echo " exits with $?"
}