Subject: | t/37_cmd_resubst.t fails (if TMPDIR is set?) |
On Linux systems with TMPDIR set to something different than /tmp t/37_cmd_resubst.t fails:
...
# Failed test at t/37_cmd_resubst.t line 17.
# got: ' 1/20 27/27 593 => 566 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/1
# 2/20 54/27 593 => 566 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/2
# 3/20 82/28 593 => 565 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/3
# 4/20 109/27 595 => 568 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/4
# 5/20 136/27 595 => 568 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/5
# 6/20 163/27 592 => 565 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/6
# 7/20 186/23 596 => 573 b (96%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/7
# 8/20 212/26 592 => 566 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/8
# 9/20 238/26 595 => 569 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/9
# 10/20 265/27 594 => 567 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/10
# 11/20 290/25 592 => 567 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/11
# 12/20 316/26 592 => 566 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/12
# 13/20 344/28 590 => 562 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/13
# 14/20 372/28 594 => 566 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/14
# 15/20 397/25 590 => 565 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/15
# 16/20 424/27 592 => 565 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/16
# 17/20 452/28 592 => 564 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/17
# 18/20 480/28 593 => 565 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/18
# 19/20 508/28 591 => 563 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/19
# 20/20 534/26 592 => 566 b (95%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/20
# Replaces: 534 Bytes before: 11856 After: 11322 Change: -4.5%
# '
# expected: ' 1/20 26/26 560 => 534 b (95%) /tmp/x/1
# 2/20 50/24 563 => 539 b (95%) /tmp/x/2
# 3/20 78/28 564 => 536 b (95%) /tmp/x/3
# 4/20 105/27 565 => 538 b (95%) /tmp/x/4
# 5/20 131/26 565 => 539 b (95%) /tmp/x/5
# 6/20 158/27 563 => 536 b (95%) /tmp/x/6
# 7/20 181/23 565 => 542 b (95%) /tmp/x/7
# 8/20 205/24 560 => 536 b (95%) /tmp/x/8
# 9/20 231/26 564 => 538 b (95%) /tmp/x/9
# 10/20 256/25 563 => 538 b (95%) /tmp/x/10
# 11/20 281/25 563 => 538 b (95%) /tmp/x/11
# 12/20 306/25 561 => 536 b (95%) /tmp/x/12
# 13/20 334/28 562 => 534 b (95%) /tmp/x/13
# 14/20 362/28 564 => 536 b (95%) /tmp/x/14
# 15/20 387/25 562 => 537 b (95%) /tmp/x/15
# 16/20 415/28 562 => 534 b (95%) /tmp/x/16
# 17/20 443/28 562 => 534 b (95%) /tmp/x/17
# 18/20 471/28 563 => 535 b (95%) /tmp/x/18
# 19/20 498/27 562 => 535 b (95%) /tmp/x/19
# 20/20 523/25 560 => 535 b (95%) /tmp/x/20
# Replaces: 523 Bytes before: 11253 After: 10730 Change: -4.6%
# '
# Failed test at t/37_cmd_resubst.t line 17.
# got: ' 1/20 28/28 286 => 261 b (91%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/1.gz
# 2/20 55/27 284 => 256 b (90%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/2.gz
# 3/20 83/28 284 => 260 b (91%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/3.gz
# 4/20 109/26 287 => 259 b (90%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/4.gz
# 5/20 136/27 285 => 256 b (89%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/5.gz
# 6/20 162/26 283 => 258 b (91%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/6.gz
# 7/20 189/27 288 => 266 b (92%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/7.gz
# 8/20 217/28 282 => 258 b (91%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/8.gz
# 9/20 244/27 288 => 261 b (90%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/9.gz
# 10/20 272/28 287 => 257 b (89%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/10.gz
# 11/20 300/28 285 => 255 b (89%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/11.gz
# 12/20 327/27 285 => 254 b (89%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/12.gz
# 13/20 354/27 282 => 253 b (89%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/13.gz
# 14/20 382/28 284 => 259 b (91%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/14.gz
# 15/20 409/27 285 => 257 b (90%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/15.gz
# 16/20 436/27 287 => 255 b (88%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/16.gz
# 17/20 462/26 285 => 256 b (89%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/17.gz
# 18/20 489/27 285 => 254 b (89%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/18.gz
# 19/20 517/28 281 => 258 b (91%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/19.gz
# 20/20 542/25 284 => 257 b (90%) /var/tmp/x-1023/2018022106/XxYUFrXwvs/20.gz
# Replaces: 542 Bytes before: 5697 After: 5150 Change: -9.6%
# '
# expected: ' 1/20 26/26 270 => 241 b (89%) /tmp/x/1.gz
# 2/20 53/27 270 => 244 b (90%) /tmp/x/2.gz
# 3/20 81/28 269 => 250 b (92%) /tmp/x/3.gz
# 4/20 107/26 271 => 242 b (89%) /tmp/x/4.gz
# 5/20 134/27 270 => 240 b (88%) /tmp/x/5.gz
# 6/20 159/25 269 => 248 b (92%) /tmp/x/6.gz
# 7/20 185/26 272 => 252 b (92%) /tmp/x/7.gz
# 8/20 213/28 269 => 241 b (89%) /tmp/x/8.gz
# 9/20 240/27 271 => 242 b (89%) /tmp/x/9.gz
# 10/20 268/28 272 => 247 b (90%) /tmp/x/10.gz
# 11/20 295/27 271 => 248 b (91%) /tmp/x/11.gz
# 12/20 320/25 271 => 240 b (88%) /tmp/x/12.gz
# 13/20 346/26 268 => 238 b (88%) /tmp/x/13.gz
# 14/20 371/25 268 => 244 b (91%) /tmp/x/14.gz
# 15/20 396/25 271 => 243 b (89%) /tmp/x/15.gz
# 16/20 423/27 270 => 240 b (88%) /tmp/x/16.gz
# 17/20 448/25 267 => 244 b (91%) /tmp/x/17.gz
# 18/20 473/25 269 => 243 b (90%) /tmp/x/18.gz
# 19/20 500/27 268 => 243 b (90%) /tmp/x/19.gz
# 20/20 525/25 271 => 244 b (90%) /tmp/x/20.gz
# Replaces: 525 Bytes before: 5397 After: 4874 Change: -9.7%
# '
# Looks like you failed 2 tests of 2.
t/37_cmd_resubst.t ..............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
...