From 28deb39d86d2bd66a18cb04cabacd7373303e2cc Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Tue, 29 Aug 2023 12:24:49 +0200 Subject: [PATCH] Fix tests --- example.sh | 2 +- test/fixture/double-source.stdio | 2 +- test/fixture/main-debug.stdio | 2 +- test/fixture/main-nocolor.stdio | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/example.sh b/example.sh index ebdceb0..009afaf 100755 --- a/example.sh +++ b/example.sh @@ -140,7 +140,7 @@ info "$(echo -e "multiple lines example - line #1\\nmultiple lines example - lin debug "Info useful to developers for debugging the application, not useful during operations." info "Normal operational messages - may be harvested for reporting, measuring throughput, etc. - no action required." notice "Events that are unusual but not error conditions - might be summarized in an email to developers or admins to spot potential problems - no immediate action required." -warning "Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time. This is a debug message" +warning "Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time." error "Non-urgent failures, these should be relayed to developers or admins; each item must be resolved within a given time." critical "Should be corrected immediately, but indicates failure in a primary system, an example is a loss of a backup ISP connection." alert "Should be corrected immediately, therefore notify staff who can fix the problem. An example would be the loss of a primary ISP connection." diff --git a/test/fixture/double-source.stdio b/test/fixture/double-source.stdio index 37dcf77..007a82b 100644 --- a/test/fixture/double-source.stdio +++ b/test/fixture/double-source.stdio @@ -17,7 +17,7 @@ ACCPTST:STDIO_REPLACE_DATETIMES {datetime} UTC [ debug] Info useful to developers for debugging the application, not useful during operations. {datetime} UTC [ info] Normal operational messages - may be harvested for reporting, measuring throughput, etc. - no action required. {datetime} UTC [ notice] Events that are unusual but not error conditions - might be summarized in an email to developers or admins to spot potential problems - no immediate action required. -{datetime} UTC [ warning] Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time. This is a debug message +{datetime} UTC [ warning] Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time. {datetime} UTC [ error] Non-urgent failures, these should be relayed to developers or admins; each item must be resolved within a given time. {datetime} UTC [ critical] Should be corrected immediately, but indicates failure in a primary system, an example is a loss of a backup ISP connection. {datetime} UTC [ alert] Should be corrected immediately, therefore notify staff who can fix the problem. An example would be the loss of a primary ISP connection. diff --git a/test/fixture/main-debug.stdio b/test/fixture/main-debug.stdio index 2d97945..0f83fa5 100644 --- a/test/fixture/main-debug.stdio +++ b/test/fixture/main-debug.stdio @@ -17,7 +17,7 @@ ACCPTST:STDIO_REPLACE_DATETIMES {datetime} UTC [ debug] Info useful to developers for debugging the application, not useful during operations. {datetime} UTC [ info] Normal operational messages - may be harvested for reporting, measuring throughput, etc. - no action required. {datetime} UTC [ notice] Events that are unusual but not error conditions - might be summarized in an email to developers or admins to spot potential problems - no immediate action required. -{datetime} UTC [ warning] Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time. This is a debug message +{datetime} UTC [ warning] Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time. {datetime} UTC [ error] Non-urgent failures, these should be relayed to developers or admins; each item must be resolved within a given time. {datetime} UTC [ critical] Should be corrected immediately, but indicates failure in a primary system, an example is a loss of a backup ISP connection. {datetime} UTC [ alert] Should be corrected immediately, therefore notify staff who can fix the problem. An example would be the loss of a primary ISP connection. diff --git a/test/fixture/main-nocolor.stdio b/test/fixture/main-nocolor.stdio index a7316d1..5200e7f 100644 --- a/test/fixture/main-nocolor.stdio +++ b/test/fixture/main-nocolor.stdio @@ -17,7 +17,7 @@ ACCPTST:STDIO_REPLACE_DATETIMES {datetime} UTC [ debug] Info useful to developers for debugging the application, not useful during operations. {datetime} UTC [ info] Normal operational messages - may be harvested for reporting, measuring throughput, etc. - no action required. {datetime} UTC [ notice] Events that are unusual but not error conditions - might be summarized in an email to developers or admins to spot potential problems - no immediate action required. -{datetime} UTC [ warning] Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time. This is a debug message +{datetime} UTC [ warning] Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time. {datetime} UTC [ error] Non-urgent failures, these should be relayed to developers or admins; each item must be resolved within a given time. {datetime} UTC [ critical] Should be corrected immediately, but indicates failure in a primary system, an example is a loss of a backup ISP connection. {datetime} UTC [ alert] Should be corrected immediately, therefore notify staff who can fix the problem. An example would be the loss of a primary ISP connection.