summaryrefslogtreecommitdiff
path: root/test/TEST-69-SHUTDOWN
Commit message (Collapse)AuthorAgeFilesLines
* test: use a dropin to override the end.service unitFrantisek Sumsal2022-03-211-1/+6
| | | | instead of removing it.
* test: run test-shutdown.py in verbose modeFrantisek Sumsal2022-03-211-5/+5
| | | | To make the debugging of spurious fails a bit easier.
* test: use ~/.bashrc instead of /etc/bash.bashrcFrantisek Sumsal2022-01-311-2/+2
| | | | | | | | /etc/bash.bashrc appears to be Debian-specific[0] (or specific to bash versions compiled with -DSYS_BASHRC), which doesn't seem to be the case for C8S. Let's use ~/.bashrc instead to make the CIs happy again. [0] https://sources.debian.org/src/bash/5.1-6/debian/README/#L50-L56
* test: make the code less error-proneFrantisek Sumsal2022-01-311-9/+10
|
* test: add shutdown testLudwig Nussel2022-01-252-0/+34
Wraps nspawn to be able to use pexpect. The test logs in on the console and runs screen. In one screen window it types in shutdown commands and checks whether a wall message was sent to the other.