test: add a dummy output for journalctl --user -b -u dbus.service -o json

This commit is contained in:
Alexandre Pujol 2022-10-15 22:05:52 +01:00
parent 4abe312220
commit 62f2163875
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 10 additions and 1 deletions

View file

@ -48,7 +48,8 @@ tests:
stage: test
image: golang
script:
- echo '#!/usr/bin/env bash\nexit 0' > /usr/bin/journalctl
- cp tests/journalctl /usr/bin/journalctl
- chmod 755 /usr/bin/journalctl
- go test ./cmd/aa-log -v -cover