From 6f52ac486342d73b678b66a4efe8a3afbd82e93f Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 29 Nov 2021 17:09:10 +0100 Subject: [PATCH] TT#152101 Fix d527f998f346 regarding syntax of 135_filesys-logfiles.yaml Otherwise the resulting file isn't valid json syntax: | root@sp1:~# goss --gossfile /etc/ngcp-system-tests/goss.yaml --vars /tmp/ngcp-system-tests.1O3urIHya7.yaml validate --format tap | Error: could not read json data in /etc/ngcp-system-tests/135_filesys-logfiles.yaml: could not unmarshal "file:\n\n /var/log/messages:\n | [...] Change-Id: I3a99570e5069553411a574f02fcd95355a9e3e7f --- templates/135_filesys-logfiles.yaml.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/135_filesys-logfiles.yaml.tt2 b/templates/135_filesys-logfiles.yaml.tt2 index f27a7c2..a5dc285 100644 --- a/templates/135_filesys-logfiles.yaml.tt2 +++ b/templates/135_filesys-logfiles.yaml.tt2 @@ -108,7 +108,7 @@ command: # optionally existing subdirectories - [% dir = '/var/log/ngcp/ngcp-rtcengine/' -%] +[% dir = '/var/log/ngcp/ngcp-rtcengine/' -%] "if test -e [% dir %]; then find [% dir %] -maxdepth 1 -type f -size +0 -perm /o+rwx; fi": exit-status: 0 stdout: