Skip to content

Commit a77727a

Browse files
committed
Port script.
1 parent 47fe032 commit a77727a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gormlite/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -euo pipefail
33

44
cd -P -- "$(dirname -- "$0")"
55

6-
rm -rf gorm/ tests/ $TMPDIR/gorm.db
6+
rm -rf gorm/ tests/ "$(dirname $(mktemp -u))/gorm.db"
77
git clone --filter=blob:none https://github.com/go-gorm/gorm.git
88
mv gorm/tests tests
99
rm -rf gorm/
@@ -14,5 +14,5 @@ cd tests
1414
go mod tidy && go work use . && go test
1515

1616
cd ..
17-
rm -rf tests/ $TMPDIR/gorm.db
17+
rm -rf tests/ "$(dirname $(mktemp -u))/gorm.db"
1818
go work use -r .

0 commit comments

Comments
 (0)