update test linux journals

This commit is contained in:
Lifailon
2026-03-16 11:34:30 +03:00
parent 4cb8454ee9
commit cfbb63bded
2 changed files with 6 additions and 4 deletions
+2 -4
View File
@@ -278,10 +278,9 @@ jobs:
run: |
green="\n\033[32m"
uncolor="\033[0m"
echo -e "$green Version: $uncolor $(lazyjournal -v)"
echo -e "$green Help: $uncolor"
lazyjournal -h
echo -e "$green Version: $uncolor"
lazyjournal -v
echo -e "$green Config: $uncolor"
lazyjournal -g
echo -e "$green Audit: $uncolor"
@@ -300,8 +299,7 @@ jobs:
- name: Check interface run and get log
if: ${{ github.event.inputs.Release == 'true' }}
run: |
script -e -q -c "timeout 10s env TERM=xterm-256color COLUMNS=150 LINES=50 lazyjournal -l" interface.log > /dev/null || [ $? -eq 124 ]
cat interface.log
script -e -q -c "timeout 10s lazyjournal -l" /dev/null > /dev/null 2>&1 || [ $? -eq 124 ]
cat lazyjournal.log
- name: Check interface in TMUX
+4
View File
@@ -275,6 +275,10 @@ func TestLinuxJournal(t *testing.T) {
dateTimeRegex: dateTimeRegex,
integersInputRegex: integersInputRegex,
syslogUnitRegex: syslogUnitRegex,
unitType: "service",
journalField: "SYSLOG_IDENTIFIER",
journalPriority: "debug",
journalBoot: "all",
}
app.loadServices(app.selectUnits)