File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -217,8 +217,9 @@ Describe 'Log-Rotate' -Tag 'Integration' {
217
217
"$logFile " {
218
218
compress
219
219
compresscmd gzip
220
- compressoptions -1 -S .foo # Specify a suffix for gzip
221
- compressext .foo
220
+ compressoptions -1
221
+ # compressoptions -1 -S .foo # Specify a suffix for gzip (but not compatible with busybox gzip)
222
+ compressext .gz
222
223
}
223
224
"@
224
225
Init
@@ -235,7 +236,7 @@ Describe 'Log-Rotate' -Tag 'Integration' {
235
236
$rotatedLogItems [0 ] | Should - BeOfType [System.IO.FileSystemInfo ]
236
237
237
238
# Assert that the rotated log file should be named
238
- $rotatedLogItems [0 ].Name | Should - Be " $ ( Split-Path $logFile - Leaf ) .1.foo "
239
+ $rotatedLogItems [0 ].Name | Should - Be " $ ( Split-Path $logFile - Leaf ) .1.gz "
239
240
}
240
241
241
242
It " Option 'copy': rotates a log file as a copy" {
You can’t perform that action at this time.
0 commit comments