Merge pull request #8158 from tweag/harden-profiles-test

Fix the flaky `nix-profile` test
This commit is contained in:
Eelco Dolstra 2023-04-11 12:12:09 +02:00 committed by GitHub
commit 45ca4e6432
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,6 +144,7 @@ expect 1 nix profile install $flake2Dir
diff -u <(
nix --offline profile install $flake2Dir 2>&1 1> /dev/null \
| grep -vE "^warning: " \
| grep -vE "^error \(ignored\): " \
|| true
) <(cat << EOF
error: An existing package already provides the following file: