about summary refs log tree commit diff
path: root/nixos/tests/zsh-history.nix
AgeCommit message (Collapse)AuthorFilesLines
2022-06-04nixos/tests: fix all tests that uses wait_until_tty_matchesBobby Rong1-3/+3
2021-07-02nixos/tests/zsh-history: Fix matching promptaszlig1-1/+1
In commit fbbaa4d40f73a5350671f286b07ab3dc58f07321, the Zsh default prompt has changed from "walters" to "suse". So instead of: root@default> ... we now have: root@default:~/ > However, in the NixOS VM test, we are matching "root@default>", which doesn't include the current working directory and thus eventually leads to a test failure after timing out. To fix this, I changed the regex to include a newline at the beginning and made sure that the hostname ends with a word boundary. This way it doesn't matter whether the prompt is "walters" or "suse", because after all the test is not about the prompt but about whether the history mechanism works (or not). Signed-off-by: aszlig <aszlig@nix.build>
2021-01-18treewide: remove kampka as maintainer (#109813)Christian Kampka1-1/+1
2021-01-10treewide: simplify pkgs.stdenv.lib -> pkgs.libDominik Xaver Hörl1-1/+1
The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
2019-12-14zsh-history: Add testsChristian Kampka1-0/+35