Skip to content

Commit

Permalink
Fix stacktest complaining about permissions on /mnt
Browse files Browse the repository at this point in the history
  • Loading branch information
koalaman committed Nov 29, 2024
1 parent 7f3f014 commit 3c75d82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/distrotest
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ and is still highly experimental.
Make sure you're plugged in and have screen/tmux in place,
then re-run with $0 --run to continue.
Also note that dist* will be deleted.
Also note that dist*/ and .stack-work/ will be deleted.
EOF
exit 0
}

echo "Deleting 'dist' and 'dist-newstyle'..."
rm -rf dist dist-newstyle
echo "Deleting 'dist', 'dist-newstyle', and '.stack-work'..."
rm -rf dist dist-newstyle .stack-work

execs=$(find . -name shellcheck)

Expand Down
2 changes: 1 addition & 1 deletion test/stacktest
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ die() { echo "$*" >&2; exit 1; }
command -v stack ||
die "stack is missing"

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

# Nice to haves, but not necessary
Expand Down

0 comments on commit 3c75d82

Please sign in to comment.