3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/tests
aszlig 3895ec33ad
nixos/tests/zsh-history: Fix matching prompt
In commit fbbaa4d40f, 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-07-02 21:01:49 +02:00
..
common
dnscrypt-wrapper
fcitx
git
google-oslogin
hadoop
hitch
hocker-fetchdocker
hydra
initrd-network-openvpn
initrd-network-ssh
installed-tests gnome: rename from gnome3 2021-05-08 09:47:42 +02:00
kerberos
krb5
kubernetes kubernetes: fix conntrack-tools package name, missing dir, and tests 2021-06-28 20:33:17 +01:00
lorri
mysql treewide: Fix mysql alias deprecation breakage 2021-06-04 21:42:08 +02:00
nextcloud nixos/nextcloud: Rename services.nextcloud.nginx.disableImagemagick to services.nextcloud.nginx.enableImagemagick 2021-04-22 02:17:12 +02:00
nfs nixos/tests/nfs: lint 2021-05-09 02:28:07 +02:00
php php: Run nixpkgs-fmt on all php related files 2021-06-26 20:07:56 +02:00
shadowsocks
tinc
web-servers unit: Add php80 and use it as default 2021-06-04 09:27:07 +02:00
wireguard iproute: deprecate alias 2021-04-04 01:43:46 +02:00
xmpp
3proxy.nix
acme.nix nixos/acme: Remove an incorrect assertion from tests 2021-06-05 10:38:46 +02:00
agda.nix
airsonic.nix airsonic: add test for module 2021-05-03 13:27:23 -06:00
all-tests.nix Merge master into staging-next 2021-06-25 12:06:04 +00:00
amazon-init-shell.nix nixos/amazon-init: add user-data shell script support 2021-04-18 10:19:06 +01:00
ammonite.nix
apparmor.nix nixos/apparmor: add test for apparmorRulesFromClosure 2021-04-23 07:20:20 +02:00
atd.nix
atop.nix nixos/atop: Wait for conditions 2021-05-22 14:11:45 +02:00
avahi.nix
awscli.nix
babeld.nix nixos/tests/babeld: drop forwarding sysctls 2021-04-25 00:55:05 +02:00
bat.nix
bazarr.nix
bcachefs.nix
beanstalkd.nix
bees.nix
bind.nix
bitcoind.nix
bittorrent.nix
bitwarden.nix treewide: Fix mysql alias deprecation breakage 2021-06-04 21:42:08 +02:00
blockbook-frontend.nix
boot-stage1.nix
boot.nix
borgbackup.nix
botamusique.nix nixos/tests/botamusique: init 2021-05-23 01:01:52 +02:00
brscan5.nix fix brscan5 config generation 2021-05-23 08:08:31 -05:00
buildbot.nix treewide: remove nand0p as maintainer 2021-05-17 01:50:49 +02:00
buildkite-agents.nix
caddy.nix
cadvisor.nix
cage.nix nixos/tests/{sway,cage,cagebreak}: Fix the tests on aarch64-linux 2021-05-27 21:29:54 +02:00
cagebreak.nix nixos/tests/{sway,cage,cagebreak}: Fix the tests on aarch64-linux 2021-05-27 21:29:54 +02:00
calibre-web.nix nixosTests.*: Don't use the -q flag with grep when used with curl 2021-06-05 18:44:54 +02:00
cassandra.nix
ceph-multi-node.nix nixos/ceph: fix tests 2021-04-22 13:17:57 +02:00
ceph-single-node-bluestore.nix nixos/ceph: fix tests 2021-04-22 13:17:57 +02:00
ceph-single-node.nix nixos/ceph: fix tests 2021-04-22 13:17:57 +02:00
certmgr.nix
cfssl.nix
charliecloud.nix
chromium.nix nixosTests.chromium: lint 2021-05-09 02:28:09 +02:00
cifs-utils.nix
cjdns.nix
clickhouse.nix clickhouse: 20.11.4.13-stable -> 21.3.11.5-lts 2021-05-19 14:08:46 -07:00
cloud-init.nix
cockroachdb.nix
consul.nix
containers-bridge.nix
containers-custom-pkgs.nix nixosTests.containers-custom-pkgs: lint 2021-05-09 02:28:11 +02:00
containers-ephemeral.nix
containers-extra_veth.nix
containers-hosts.nix
containers-imperative.nix nixosTests.containers-imperative: lint 2021-05-09 02:28:14 +02:00
containers-ip.nix
containers-macvlans.nix
containers-names.nix
containers-nested.nix
containers-physical_interfaces.nix
containers-portforward.nix
containers-reloadable.nix
containers-restart_networking.nix
containers-tmpfs.nix
convos.nix
corerad.nix
couchdb.nix nixosTests.couchdb: clean up 2021-05-03 15:42:36 +02:00
cri-o.nix
croc.nix tests/croc: remove stdenv.lib 2021-04-01 21:27:50 +02:00
custom-ca.nix nixos/tests/custom-ca: disable firefox test integration 2021-06-09 01:52:27 +02:00
deluge.nix
dendrite.nix nixos/tests/dendrite: init (#121777) 2021-05-14 13:11:22 +02:00
dhparams.nix
discourse.nix nixos/discourse: Assert deployed PostgreSQL version 2021-05-28 17:43:02 -07:00
dnscrypt-proxy2.nix
doas.nix
docker-edge.nix
docker-registry.nix
docker-tools-cross.nix Revert "nixos/tests/docker-tools*: remove useless formatter" 2021-05-09 02:57:17 +02:00
docker-tools-overlay.nix Revert "nixos/tests/docker-tools*: remove useless formatter" 2021-05-09 02:57:17 +02:00
docker-tools.nix nixos/test-driver: Run commands with error handling 2021-06-05 18:44:42 +02:00
docker.nix nixos/docker: ensure ipv4 forwarding is enabled 2021-05-08 18:58:24 +01:00
documize.nix
doh-proxy-rust.nix nixosTests.*: Don't use the -q flag with grep when used with curl 2021-06-05 18:44:54 +02:00
dokuwiki.nix
dovecot.nix nixos/tests/dovecot: set mailUser and mailGroup 2021-04-16 00:43:11 +02:00
ec2.nix
ecryptfs.nix
elk.nix Merge pull request #117379 from hercules-ci/nixos-metricbeat 2021-06-08 13:53:20 +02:00
emacs-daemon.nix
engelsystem.nix
enlightenment.nix
env.nix
ergo.nix
etcd-cluster.nix
etcd.nix
etebase-server.nix nixos/tests/etebase-server: init 2021-03-30 23:32:26 +02:00
etesync-dav.nix
fancontrol.nix nixosTests.fancontrol: fix test 2021-05-07 11:46:40 -07:00
fenics.nix
ferm.nix
firefox.nix nixos/*: replace alsa* aliases 2021-06-10 09:46:55 +02:00
firejail.nix
firewall.nix
fish.nix
flannel.nix
fluentd.nix
fontconfig-default-fonts.nix treewide: remove worldofpeace from meta.maintainers 2021-05-07 15:36:40 +02:00
freeswitch.nix
fsck.nix
ft2-clone.nix
gerrit.nix
geth.nix
ghostunnel.nix nixos/ghostunnel: init 2021-05-20 10:41:52 +02:00
gitdaemon.nix nixos/tests/gitdaemon: deflake by using systemd-tmpfiles 2021-05-02 21:58:43 +00:00
gitea.nix gitea: 1.13.7 -> 1.14.0 2021-04-11 13:39:39 +02:00
gitlab.nix nixosTests.*: Don't use the -q flag with grep when used with curl 2021-06-05 18:44:54 +02:00
gitolite-fcgiwrap.nix
gitolite.nix
glusterfs.nix
gnome-xorg.nix gnome: rename from gnome3 2021-05-08 09:47:42 +02:00
gnome.nix gnome: rename from gnome3 2021-05-08 09:47:42 +02:00
go-neb.nix nixos/go-neb: secret support 2021-06-26 11:59:50 +02:00
gobgpd.nix nixos/tests/gobgpd: init 2021-04-09 14:57:33 +00:00
gocd-agent.nix nixosTests.*: Don't use the -q flag with grep when used with curl 2021-06-05 18:44:54 +02:00
gocd-server.nix
gotify-server.nix
grafana.nix nixosTests.*: Don't use the -q flag with grep when used with curl 2021-06-05 18:44:54 +02:00
graphite.nix
graylog.nix
grocy.nix
grub.nix
gvisor.nix
haka.nix
handbrake.nix
haproxy.nix
hardened.nix
hedgedoc.nix
herbstluftwm.nix
hibernate.nix nixos/tests/hibernate: install a system instead 2021-04-23 01:30:38 +00:00
hledger-web.nix nixos/hledger-web: set capabilites as boolean 2021-03-26 13:45:13 +01:00
home-assistant.nix nixos/tests/home-assistant: don't test package 2021-06-28 14:34:18 +02:00
hostname.nix
hound.nix
i3wm.nix
icingaweb2.nix
iftop.nix
ihatemoney.nix
image-contents.nix
incron.nix
influxdb.nix
initrd-network.nix
initrd-secrets.nix
inspircd.nix !fixup simplify zipListsWith call 2021-03-22 14:52:13 +01:00
installer.nix nixos/tests/installer: don't break under i686 2021-05-03 01:44:54 +00:00
iodine.nix
ipfs.nix
ipv6.nix nixos/network: allow configuring tempaddr for undeclared interfaces 2021-04-27 16:43:30 +02:00
iscsi-root.nix nixosTests.iscsi-root: init 2021-04-06 18:34:37 +00:00
jackett.nix
jellyfin.nix nixos/testing: lint jellyfin test 2021-05-09 02:28:28 +02:00
jenkins.nix nixos/jenkins: test declarative jobs 2021-06-10 19:23:28 +02:00
jirafeau.nix
jitsi-meet.nix nixos/jitsi-meet: update nixos tests 2021-06-20 12:36:51 +02:00
k3s.nix
kafka.nix
kbd-setfont-decompress.nix nixos/tests/kbd-setfont-decompress: init 2021-05-31 02:45:15 +08:00
keepalived.nix
keepassxc.nix
kernel-generic.nix nixos/tests/kernel-generic: fix evaluation 2021-06-28 22:41:56 +00:00
kernel-latest-ath-user-regd.nix
kexec.nix
keycloak.nix keycloak.tests: Test HTTPS support 2021-05-21 13:09:43 +02:00
keymap.nix kbd: add tests and update them 2021-04-23 16:41:11 +02:00
knot.nix
ksm.nix
leaps.nix
libreswan.nix nixos/tests/libreswan: add test 2021-05-18 08:13:36 +02:00
lidarr.nix
lightdm.nix treewide: remove worldofpeace from meta.maintainers 2021-05-07 15:36:40 +02:00
limesurvey.nix
locate.nix
login.nix
loki.nix
lsd.nix
lxd-nftables.nix
lxd.nix nixos/lxd: fix race condition in test 2021-04-29 11:40:00 +02:00
magic-wormhole-mailbox-server.nix
magnetico.nix
mailcatcher.nix
mailhog.nix
make-test-python.nix make-test-python: disallow aliases 2021-06-03 11:03:31 -07:00
matomo.nix treewide: Fix mysql alias deprecation breakage 2021-06-04 21:42:08 +02:00
matrix-appservice-irc.nix nixos/tests/matrix-appservice-irc: init 2021-04-01 01:17:24 +02:00
matrix-synapse.nix
mediatomb.nix
mediawiki.nix
memcached.nix
metabase.nix
minecraft-server.nix nixos/tests/minecraft-server: fix build on i686 2021-05-15 01:17:51 +02:00
minecraft.nix
minidlna.nix
miniflux.nix nixosTests.*: Don't use the -q flag with grep when used with curl 2021-06-05 18:44:54 +02:00
minio.nix
misc.nix
moinmoin.nix
molly-brown.nix
mongodb.nix
moodle.nix
morty.nix
mosquitto.nix nixos/mosquitto: harden systemd unit 2021-05-01 19:46:48 +02:00
mpd.nix
mpich-example.c
mumble.nix
munin.nix
musescore.nix
mutable-users.nix
mxisd.nix mxisd: remove (#119372) 2021-04-19 11:26:08 -04:00
n8n.nix
nagios.nix
nano.nix
nar-serve.nix
nat.nix
ncdns.nix
ndppd.nix
nebula.nix nixos/nebula: Add enable option defaulting to true to Nebula networks 2021-04-16 19:57:02 -07:00
neo4j.nix
netdata.nix
networking-proxy.nix
networking.nix nixos/tests/networking: Fix str literal comparison 2021-05-09 02:28:20 +02:00
nexus.nix
nghttpx.nix
nginx-auth.nix
nginx-etag.nix
nginx-pubhtml.nix
nginx-sandbox.nix
nginx-sso.nix
nginx-variants.nix nixosTests.nginx*: nginxUnstable -> nginxMainline 2021-06-05 18:44:48 +02:00
nginx.nix nixosTests.nginx*: nginxUnstable -> nginxMainline 2021-06-05 18:44:48 +02:00
nix-ssh-serve.nix
nixos-generate-config.nix gnome: rename from gnome3 2021-05-08 09:47:42 +02:00
nomad.nix
novacomd.nix
nsd.nix nixos/nsd: make nsd-checkconf work when configuration contains keys 2021-05-19 18:21:10 +02:00
nzbget.nix
nzbhydra2.nix
oci-containers.nix maintainers: add serokell team, move various packages to it 2021-05-08 12:11:48 +02:00
oh-my-zsh.nix
ombi.nix nixos/ombi: add test for ombi to ensure startup 2021-04-01 10:34:40 +03:00
openarena.nix
openldap.nix
opensmtpd-rspamd.nix opensmtpd-filter-rspamd: init at 0.1.7 (#122823) 2021-05-19 22:37:49 +02:00
opensmtpd.nix
openssh.nix
openstack-image.nix
opentabletdriver.nix
orangefs.nix
os-prober.nix nixos/tests: Replace QEMU_OPTS usages with virtualisation.qemu.options 2021-05-01 20:20:29 +02:00
osrm-backend.nix
overlayfs.nix nixos/tests/overlayfs: Use individual commands 2021-06-16 04:12:18 +02:00
packagekit.nix nixos/tests/packagekit: fix test machine evaluation 2021-04-18 18:40:06 +02:00
pam-oath-login.nix
pam-u2f.nix
pantheon.nix
paperless.nix
pdns-recursor.nix
peerflix.nix
pgjwt.nix
pgmanage.nix
pinnwand.nix nixos/tests/pinnwand: use wait_for_open_port instead of direct sockstat call 2021-05-03 16:52:06 +02:00
plasma5.nix
plausible.nix plausible: minor polishing 2021-06-02 19:21:31 +09:00
pleroma.nix
plikd.nix
plotinus.nix gnome: rename from gnome3 2021-05-08 09:47:42 +02:00
podgrab.nix nixos/tests/podgrab: init 2021-04-15 20:57:22 +00:00
podman-dnsname.nix nixos/podman/tests: add workaround for broken import 2021-06-18 15:43:24 +10:00
podman-tls-ghostunnel.nix nixos/podman/tests: add workaround for broken import 2021-06-18 15:43:24 +10:00
podman.nix nixos/podman/tests: add workaround for broken import 2021-06-18 15:43:24 +10:00
pomerium.nix nixosTests.*: Don't use the -q flag with grep when used with curl 2021-06-05 18:44:54 +02:00
postfix-raise-smtpd-tls-security-level.nix
postfix.nix
postgis.nix
postgresql-wal-receiver.nix
postgresql.nix
power-profiles-daemon.nix
powerdns.nix
pppd.nix
predictable-interface-names.nix
printing.nix nixos/tests/printing: fix after setting pipefail 2021-06-10 08:01:53 +02:00
privacyidea.nix nixos/privacyidea: use envsubst to avoid leaking secrets to the store 2021-03-31 13:27:30 +02:00
privoxy.nix
prometheus-exporters.nix Merge pull request #125573 from Flakebi/prometheus-script-exporter 2021-06-07 01:59:41 +01:00
prometheus.nix
proxy.nix
pt2-clone.nix
qboot.nix
quorum.nix
rabbitmq.nix
radarr.nix
radicale.nix nixos/radicale: harden systemd unit 2021-05-04 17:43:26 +02:00
redis.nix nixos/users: require one of users.users.name.{isSystemUser,isNormalUser} 2021-04-14 20:40:00 +02:00
redmine.nix
resolv.nix
restic.nix restic: allow prune without backup 2021-03-21 18:47:52 -07:00
riak.nix
robustirc-bridge.nix
roundcube.nix
rspamd.nix nixos/tests/rspamd: increase memory 2021-05-02 21:50:17 +00:00
rss2email.nix rss2email test: fix name (#125863) 2021-06-06 01:05:39 +02:00
rsyncd.nix
rsyslogd.nix
run-in-machine.nix
rxe.nix
samba-wsdd.nix
samba.nix
sanoid.nix sanoid: fix sanoid.conf generation 2021-06-09 03:25:04 +02:00
sddm.nix
searx.nix nixos/tests/searx: fix for 1.0 update 2021-04-19 00:13:05 +02:00
service-runner.nix
shadow.nix nixos/tests/shadow: Fix linting errors 2021-05-09 02:28:26 +02:00
shattered-pixel-dungeon.nix
shiori.nix nixosTests.*: Don't use the -q flag with grep when used with curl 2021-06-05 18:44:54 +02:00
signal-desktop.nix signal-desktop: Fix the database encryption by preloading SQLCipher 2021-05-14 02:33:42 +02:00
simple.nix
slurm.nix
smokeping.nix
snapcast.nix nixos/tests/snapcast: minor polish to make the tests more expressive 2021-06-03 20:29:02 +02:00
snapper.nix
sogo.nix treewide: Fix mysql alias deprecation breakage 2021-06-04 21:42:08 +02:00
solanum.nix solanum: fix MOTD 2021-05-30 20:27:08 -04:00
solr.nix
sonarr.nix
sourcehut.nix nixos/sourcehut: init (#113244) 2021-06-05 14:42:51 -04:00
spacecookie.nix nixos/spacecookie: convert into settings-style freeform configuration 2021-04-10 15:44:19 +02:00
specialisation.nix
spike.nix
ssh-keys.nix
sslh.nix
sssd-ldap.nix
sssd.nix
strongswan-swanctl.nix
sudo.nix nixos/sudo: add option execWheelOnly 2021-05-08 23:48:00 +02:00
sway.nix nixos/tests/sway: add check that sway quits 2021-06-25 02:06:00 +02:00
switch-test.nix
sympa.nix
syncthing-init.nix
syncthing-relay.nix
syncthing.nix
systemd-analyze.nix
systemd-binfmt.nix
systemd-boot.nix
systemd-confinement.nix nixosTests.systemd-confinement: fix script format 2021-05-08 10:05:15 -07:00
systemd-journal.nix
systemd-networkd-dhcpserver.nix
systemd-networkd-ipv6-prefix-delegation.nix treewide: fix eval without aliases after 9378fdf87e 2021-04-08 13:33:09 +02:00
systemd-networkd-vrf.nix
systemd-networkd.nix nixosTests.systemd-networkd: remove wireguard kernel module 2021-05-09 15:40:19 +02:00
systemd-nspawn.nix
systemd-timesyncd.nix
systemd-unit-path.nix systemd: allow custom unit folders to be configured with SYSTEMD_UNIT_PATH 2021-03-22 20:41:12 +01:00
systemd.nix
taskserver.nix
teeworlds.nix
telegraf.nix
tiddlywiki.nix
timezone.nix
tinydns.nix
tor.nix
trac.nix
traefik.nix
trafficserver.nix nixos/tests/trafficserver: init 2021-04-27 00:02:19 +09:00
transmission.nix
trezord.nix
trickster.nix
trilium-server.nix
tuptime.nix
turbovnc-headless-server.nix
txredisapi.nix pythonPackages.txredisapi: Add unit test 2021-06-24 23:34:03 +02:00
ucarp.nix nixos/test/ucarp: init 2021-06-15 18:31:57 +02:00
ucg.nix
udisks2.nix
unbound.nix nixos/tests/unbound: Remove unused 'json' import 2021-05-09 02:28:30 +02:00
upnp.nix
usbguard.nix
uwsgi.nix
v2ray.nix v2ray: 4.37.3 -> 4.38.3 2021-05-02 19:39:24 +08:00
vault-postgresql.nix
vault.nix nixos/test/vault: fix assertion logic 2021-06-30 22:50:01 -07:00
vector.nix
victoriametrics.nix
virtualbox.nix nixos/test/virtualbox: Fix linting errors 2021-05-09 02:28:32 +02:00
vscodium.nix
wasabibackend.nix
wiki-js.nix nixos/test-driver: Run commands with error handling 2021-06-05 18:44:42 +02:00
wmderland.nix nixos/tests/wmderland: remove stdenv.lib 2021-05-05 01:43:05 -04:00
wordpress.nix
xandikos.nix nixosTests.*: Don't use the -q flag with grep when used with curl 2021-06-05 18:44:54 +02:00
xautolock.nix
xfce.nix
xmonad.nix
xrdp.nix
xss-lock.nix
xterm.nix
yabar.nix
yggdrasil.nix nixos/tests/yggdrasil: Fix linting error 2021-05-09 02:28:18 +02:00
yq.nix
zfs.nix Update nixos/tests/zfs.nix 2021-06-18 22:19:16 +02:00
zigbee2mqtt.nix nixos/tests/zigbee2mqtt: relax DevicePolicy and log systemd-analye security 2021-04-30 19:42:26 +02:00
zoneminder.nix
zookeeper.nix
zsh-history.nix nixos/tests/zsh-history: Fix matching prompt 2021-07-02 21:01:49 +02:00