mkdir -p node_modules/@npmcli
ln -s ../../docs node_modules/@npmcli/ || true
pkgjs-ln chalk || true
pkgjs-ln p-map || true
pkgjs-ln supports-color || true
mkdir -p node_modules/@tufjs
rm -rf node_modules/@tufjs/models
ln -sf /usr/share/nodejs/npm/node_modules/@tufjs/models node_modules/@tufjs/
rm -f test/lib/commands/config.js \
	test/lib/commands/diff.js \
	test/lib/commands/doctor.js \
	test/lib/commands/edit.js \
	test/lib/commands/explore.js \
	test/lib/commands/init.js \
	test/lib/commands/install.js \
	test/lib/commands/link.js \
	test/lib/commands/ls.js \
	test/lib/commands/outdated.js \
	test/lib/commands/publish.js \
	test/lib/commands/query.js \
	test/lib/commands/uninstall.js \
	test/lib/commands/update.js \
	test/lib/docs.js \
	test/lib/utils/error-message.js \
	test/lib/utils/installed-deep.js \
	test/lib/utils/installed-shallow.js \
	test/lib/utils/sbom-cyclonedx.js \
	test/lib/utils/update-notifier.js \
	test/lib/cli/exit-handler.js \
	test/lib/cli/update-notifier.js \
	test/lib/commands/adduser.js \
	test/lib/commands/login.js
HOME=${AUTOPKGTEST_TMP:-/tmp} tap --bail -J -R spec --no-cov test
