Skip to content

Commit

Permalink
Tests: increase timeout in expect
Browse files Browse the repository at this point in the history
This command takes 7 seconds on nix 2.22, but only 0.5 seconds on nix
2.20.

    NIX_PATH=nixpkgs=channel:nixos-23.05 nix-shell -p --run :
  • Loading branch information
xzfc committed Jun 23, 2024
1 parent 794e9fb commit 22ac068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/t16-shopt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ check "Options are the same" diff tmp/nix-shell tmp/cached-nix-shell
rm tmp/nix-shell tmp/cached-nix-shell

run $(nix-shell --pure -p which expect --run 'which expect') << 'EOF'
set timeout 5
set timeout 60
log_user 0
spawn nix-shell --pure -p
Expand Down

0 comments on commit 22ac068

Please sign in to comment.