nixpkgs-suyu/nixos/tests
aszlig 9ecde9d165
nixos/tests/overlayfs: Fix erroneous backslashes
Since commit b7749c7671, commands run as
part of VM tests are exiting immediately if an error happens.

When converting the overlayfs test to Python in commit
5ae92144ba, the individual test commands
were crammed into one big string instead of using a series of test
commands like done in the Perl version.

Additionally, the backslash-escaped dollar signs were necessary in
Perl's double-quoted strings to avoid variable interpolation, for Python
however, this results in an actual backslash being inserted into the
command.

While this obviously results in an exit code of 1 (without an error
message, since it's using bash's expression evaluation command), the
test didn't fail because putting all these commands in one string will
result in only the last error code being relevant.

With the change to "set -e" for commands sent to test machines, this has
changed and with the exit code of all commands now relevant, the test
now fails because the errors from individual command substitutions that
were prevented by escaping the dollar sign are now actually visible.

This in turn also means that until now, we wouldn't have noticed if the
overlayfs test would have failed for real.

Signed-off-by: aszlig <aszlig@nix.build>
2021-06-16 04:12:04 +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 nixos/kubernetes: docker -> containerd 2021-03-07 12:51:14 +10: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 nixos/tests/php: add apcu to php to actually test whether extensions are properly loaded 2021-03-04 16:06:37 +01: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 agda nixos test: fix hello world program 2021-03-17 22:01:59 +00:00
airsonic.nix airsonic: add test for module 2021-05-03 13:27:23 -06:00
all-tests.nix php: Drop PHP 7.3 support 2021-06-04 09:26:54 +02: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 nixos/containers: styling improvements 2021-02-26 17:44:14 +01:00
containers-custom-pkgs.nix nixosTests.containers-custom-pkgs: lint 2021-05-09 02:28:11 +02:00
containers-ephemeral.nix nixos/containers: styling improvements 2021-02-26 17:44:14 +01:00
containers-extra_veth.nix nixos/containers: styling improvements 2021-02-26 17:44:14 +01:00
containers-hosts.nix nixos/containers: styling improvements 2021-02-26 17:44:14 +01:00
containers-imperative.nix nixosTests.containers-imperative: lint 2021-05-09 02:28:14 +02:00
containers-ip.nix nixos/containers: styling improvements 2021-02-26 17:44:14 +01:00
containers-macvlans.nix nixos/containers: styling improvements 2021-02-26 17:44:14 +01:00
containers-names.nix nixos/containers: allow containers with long names to create private networks 2021-02-26 17:48:49 +01:00
containers-nested.nix nixosTests.containers-nested: init 2021-03-04 12:04:31 +01:00
containers-physical_interfaces.nix nixos/containers: styling improvements 2021-02-26 17:44:14 +01:00
containers-portforward.nix nixos/containers: styling improvements 2021-02-26 17:44:14 +01:00
containers-reloadable.nix nixos/containers: styling improvements 2021-02-26 17:44:14 +01:00
containers-restart_networking.nix nixos/containers: styling improvements 2021-02-26 17:44:14 +01:00
containers-tmpfs.nix nixos/containers: styling improvements 2021-02-26 17:44:14 +01:00
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 treewide: unzip buldInputs to nativeBuildInputs (2) 2021-03-06 15:18:05 +07:00
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 nixos/geth: initial service 2021-02-23 19:28:51 +01:00
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
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: update maintainership to home-assistant team 2021-05-03 00:21:25 +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
k3s.nix
kafka.nix apacheKafka: init 2.6.1, make default 2021-03-10 08:10:32 +01:00
keepalived.nix
keepassxc.nix
kernel-generic.nix nixos/tests/kernel-generic: fix evaluation 2021-06-09 13:00:43 +02: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 nixos/ksm: remove udev-settle dependency 2021-02-26 22:10:10 +01:00
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 nixos/tests: add musescore 2021-02-26 20:26:02 -05:00
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: Fix erroneous backslashes 2021-06-16 04:12:04 +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 nixos/tests: new test for plikd 2021-02-23 15:35:52 +01:00
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-dnsname: init 2021-05-31 14:31:09 +02:00
podman-tls-ghostunnel.nix nixos/podman-network-socket-ghostunnel: init 2021-05-30 11:23:24 +02:00
podman.nix podman: Add iproute2, fixing docker network rm 2021-05-30 11:23:25 +02: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 nixos/tests/privoxy: add test 2021-03-09 11:03:00 +01:00
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 Merge pull request #104420 from danielfullmer/syncoid-perm-fix 2021-05-22 17:57:56 +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 nixos/tests/spike: Fix assertion 2021-03-14 00:58:50 -05:00
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,cage,cagebreak}: Fix the tests on aarch64-linux 2021-05-27 21:29:54 +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 turbovnc: Add programs.turbovnc, add test for headless software OpenGL 2021-03-14 06:27:43 +01: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
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
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