mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
22 lines
906 B
Bash
Executable File
22 lines
906 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
|
|
cd -P -- "$(dirname -- "$0")"
|
|
|
|
curl -#OL "https://sqlite.org/2023/sqlite-amalgamation-3410100.zip"
|
|
unzip -d . sqlite-amalgamation-*.zip
|
|
mv sqlite-amalgamation-*/sqlite3* .
|
|
rm -rf sqlite-amalgamation-*
|
|
|
|
cd ../tests/mptest/testdata/
|
|
curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.41.1/mptest/mptest.c"
|
|
curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.41.1/mptest/config01.test"
|
|
curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.41.1/mptest/config02.test"
|
|
curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.41.1/mptest/crash01.test"
|
|
curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.41.1/mptest/crash02.subtest"
|
|
curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.41.1/mptest/multiwrite01.test"
|
|
cd ~-
|
|
|
|
cd ../tests/speedtest1/testdata/
|
|
curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.41.1/test/speedtest1.c"
|
|
cd ~- |