about summary refs log tree commit diff stats
path: root/tests/by-name/ya/yambar
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-30 23:09:48 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-30 23:09:48 +0100
commit4c29e806117634dacfb83f6ea78af6463e2a4161 (patch)
tree05442df4107c8a1f609219ab1923775f7715771a /tests/by-name/ya/yambar
parenttests(infrastructure/run.nix): Bring up-to-date with the `default.nix` (diff)
downloadnixos-config-4c29e806117634dacfb83f6ea78af6463e2a4161.tar.gz
nixos-config-4c29e806117634dacfb83f6ea78af6463e2a4161.zip
fix(tests/{yambar,nvim-checkhealth}): Update to use `Exec`
Diffstat (limited to '')
-rw-r--r--tests/by-name/ya/yambar/test.desc8
-rw-r--r--tests/by-name/ya/yambar/test.nix2
2 files changed, 2 insertions, 8 deletions
diff --git a/tests/by-name/ya/yambar/test.desc b/tests/by-name/ya/yambar/test.desc
index cc0aafd2..067c201e 100644
--- a/tests/by-name/ya/yambar/test.desc
+++ b/tests/by-name/ya/yambar/test.desc
@@ -1,10 +1,4 @@
-# Give everything time to start up
-Sleep 2
-
-Type yambar --validate && echo "SUCCESS"
-Sleep 1
-Type Enter
-Sleep 5
+Exec yambar --validate && echo "SUCCESS"
 
 Expect ^SUCCESS$
 
diff --git a/tests/by-name/ya/yambar/test.nix b/tests/by-name/ya/yambar/test.nix
index 1f2c1e70..c0e94110 100644
--- a/tests/by-name/ya/yambar/test.nix
+++ b/tests/by-name/ya/yambar/test.nix
@@ -20,5 +20,5 @@ mkTest {
 
   description = ./test.desc;
 
-  hash = "0c590d1bb450b0bc591565b6f4d970e7e7d4e13f8dc47108cf842d7ceb7ed93e";
+  hash = "aa90e8898fa23c76299158415cb29db739165e94c252a447aff763ab24fbfc9c";
 }