test: add a dummy output for journalctl --user -b -u dbus.service -o json
This commit is contained in:
parent
4abe312220
commit
62f2163875
2 changed files with 10 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue