#!/bin/sh
set -e

exec 3>&2
run() { echo "+ $*" >&3; "$@"; }

# Confirm each of the 5 out-of-tree extensions loads by bare name,
# no path, no -unsigned.
for ext in httpfs quack sqlite_scanner postgres_scanner mysql_scanner; do
    run duckdb -c "LOAD $ext;"
done
