Skip to content

Commit

Permalink
minor test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tek committed Oct 16, 2023
1 parent 62d2a0a commit 1e76367
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion lib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,10 @@ let
local decision=""
message_part "$1 [Yn] "
read -k decision
echo ""
if [[ $decision != '\n' ]]
then
echo ""
fi
[[ $decision != 'n' ]]
}
'';
Expand Down
4 changes: 2 additions & 2 deletions test/postgres/root/flake.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
description = "hix test project";

inputs.hix.url = path:HIX;
inputs.hix.url = "path:HIX";

outputs = { hix, ... }: hix.lib.flake ({config, ...}: {

Expand All @@ -15,7 +15,7 @@
env = "db";
command = ''
sleep 5
psql "host=localhost port=16032 user=test password=test dbname=test" -c 'select 1'
${config.pkgs.postgresql}/bin/psql "host=localhost port=16032 user=test password=test dbname=test" -c 'select 1'
'';
};

Expand Down
2 changes: 2 additions & 0 deletions test/update-cli-version/test.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
in {
test = pkgs.writeText "update-cli-version-test" ''
version='0.6.7'
git init -q
mkdir ops
${release.updateCliVersion}
target='{
"version": "0.6.7",
Expand Down

0 comments on commit 1e76367

Please sign in to comment.