Add log rotation test with absolute file path
Add a test to the logfileconfig system test to test log file rotation when using absolute file paths.
This commit is contained in:
@@ -702,9 +702,12 @@ get_named_xfer_stats() {
|
||||
# copy_setports infile outfile
|
||||
#
|
||||
copy_setports() {
|
||||
sed -e "s/@PORT@/${PORT}/g" \
|
||||
dir=$(echo "$TMPDIR" | sed 's/\//\\\//g')
|
||||
|
||||
sed -e "s/@TMPDIR@/${dir}/g" \
|
||||
-e "s/@PORT@/${PORT}/g" \
|
||||
-e "s/@TLSPORT@/${TLSPORT}/g" \
|
||||
-e "s/@HTTPPORT@/${HTTPPORT}/g" \
|
||||
-e "s/@HTTPPORT@/${HTTPPORT}/g" \
|
||||
-e "s/@HTTPSPORT@/${HTTPSPORT}/g" \
|
||||
-e "s/@EXTRAPORT1@/${EXTRAPORT1}/g" \
|
||||
-e "s/@EXTRAPORT2@/${EXTRAPORT2}/g" \
|
||||
|
||||
Reference in New Issue
Block a user