diff options
| author | nzbr <mail@nzbr.de> | 2022-11-25 19:17:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-25 19:17:05 +0100 |
| commit | bab9aa46a90a6be42fabdec8b22f3294c1ad4949 (patch) | |
| tree | f9e94e3e6eb8f01ff0686c398dec54a8ec6d17f0 /scripts/syschdemd.sh | |
| parent | e9e8d01c5a2f57d330d42c9a772cf67d89b43650 (diff) | |
Add CI Tests (#161)
* use systemd-run instead of machinectl
* fix systemd user sessions by launching through runuser
* skip mounting binfmt_misc if the kernel lacks support for it
* link syschdemd/installer to static location
* make check happy
* test tests
* add a simple installer test
* add second test for exit codes
* make tests responsible for checking exit code
* fix: add which to path
* overhaul actions workflow
* move checks out of flake.nix
* use GUID for image name
* Split flake checks into matrix job
* Check for side-effects
* reformat powershell scripts
* extend basic test
* use pester for tests
* "fix" (purposefully) failing test
* rename lib -> init
* Add test for systemd --user
* Add test for docker-native
* move release to separate workflow
* change downstream workflow path
* switch to a class
* Test running with different user shells
* Add lib implementation for Windows
* Add documentation for the tests
* readme: docker permissions
* remove empty files
Diffstat (limited to 'scripts/syschdemd.sh')
| -rw-r--r-- | scripts/syschdemd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/syschdemd.sh b/scripts/syschdemd.sh index 73adb40..a28ffcc 100644 --- a/scripts/syschdemd.sh +++ b/scripts/syschdemd.sh @@ -101,7 +101,7 @@ main() { start_systemd fi - if [ $# -gt 0 ]; then + if [ $# -gt 1 ]; then # Ignore just -c without a command # wsl seems to prefix with "-c" shift command="$*" |
