ports/x11/xauth/files/patch-tests_setup-sourced
Baptiste Daroussin 6dc312169e Update to 1.0.10
plug to the test framework
unGNUify the testsuite
2017-02-06 21:16:17 +00:00

19 lines
442 B
Text

--- tests/setup-sourced.orig 2017-01-29 20:59:17 UTC
+++ tests/setup-sourced
@@ -11,14 +11,14 @@ export XAUTHORITY=${DATADIR:-/tmp}/.Xaut
# Start a new authority file
rm -f $XAUTHORITY ; touch $XAUTHORITY
-function xauth()
+xauth()
{
echo "> xauth" "$@"
../xauth "$@"
echo " exits with $?"
}
-function xauth_silent()
+xauth_silent()
{
echo "> xauth" "some silent commands which should not be logged..."
../xauth "$@"