Update run.sh

This commit is contained in:
alexey-milovidov 2021-06-28 14:28:49 +03:00 committed by GitHub
parent f7663fe6eb
commit ee935a3733
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
#!/bin/bash
# shellcheck disable=SC2094
set -x
@ -153,7 +154,7 @@ zgrep -Fa "########################################" /test_output/* > /dev/null
# Put logs into /test_output/
for log_file in /var/log/clickhouse-server/clickhouse-server.log*
do
pigz < "${log_file}" > /test_output/$(basename "${log_file}").gz
pigz < "${log_file}" > /test_output/"$(basename \"${log_file}\")".gz
done
tar -chf /test_output/coordination.tar /var/lib/clickhouse/coordination ||: