resticprofile: disable some additional tests

This commit is contained in:
TomaSajt 2024-07-27 22:32:11 +02:00
parent f47fe6a7dc
commit 559e9a7f9d
No known key found for this signature in database
GPG Key ID: F011163C050122A1

View File

@ -50,11 +50,8 @@ buildGoModule rec {
rm priority/ioprio_test.go # tries to set nice(2) IO priority
rm restic/downloader_test.go # tries to use network
rm schedule/schedule_test.go # tries to use systemctl
# `config/path_test.go` expects `$HOME` to be the same as `~nixbld` which is `$NIX_BUILD_TOP`
export HOME="$NIX_BUILD_TOP"
# `util/tempdir_test.go` expects `$HOME/.cache` to exist
mkdir "$HOME/.cache"
rm config/path_test.go # expects normal environment
rm util/tempdir_test.go # expects normal environment
'';
installPhase = ''