#!/bin/sh
# Copyright (C) 2026 David Nichols
# SPDX-License-Identifier: MIT
set -eu
unset QORE_MODULE_DIR QORE_MODULE_DIR_ONLY QORE_INCLUDE_DIR LD_LIBRARY_PATH LD_PRELOAD
# Run away from the source/build tree, without a preloaded module or module path.
cp test/magic.qtest test/qore.png test/qore.jpg test/qore.txt "$AUTOPKGTEST_TMP/"
cd "$AUTOPKGTEST_TMP"
exec /usr/bin/qore ./magic.qtest -v
