Skip to content

Commit 3c75d82

Browse files
committedNov 29, 2024·
Fix stacktest complaining about permissions on /mnt
1 parent 7f3f014 commit 3c75d82

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎test/distrotest

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ and is still highly experimental.
1717
Make sure you're plugged in and have screen/tmux in place,
1818
then re-run with $0 --run to continue.
1919
20-
Also note that dist* will be deleted.
20+
Also note that dist*/ and .stack-work/ will be deleted.
2121
EOF
2222
exit 0
2323
}
2424

25-
echo "Deleting 'dist' and 'dist-newstyle'..."
26-
rm -rf dist dist-newstyle
25+
echo "Deleting 'dist', 'dist-newstyle', and '.stack-work'..."
26+
rm -rf dist dist-newstyle .stack-work
2727

2828
execs=$(find . -name shellcheck)
2929

‎test/stacktest

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ die() { echo "$*" >&2; exit 1; }
1515
command -v stack ||
1616
die "stack is missing"
1717

18-
stack setup || die "Failed to setup with default resolver"
18+
stack setup --allow-different-user || die "Failed to setup with default resolver"
1919
stack build --test || die "Failed to build/test with default resolver"
2020

2121
# Nice to haves, but not necessary

0 commit comments

Comments
 (0)
Please sign in to comment.