[Home]

Summary:ASTERISK-26602: Testsuite: invalid use of alternate /var/tmp path
Reporter:Scott Griepentrog (sgriepentrog)Labels:
Date Opened:2016-11-15 14:16:25.000-0600Date Closed:2016-12-09 08:23:57.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Tests/testsuite
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The alternate /var/tmp directory for asterisk-testsuite
temporary files will be autoamtically selected- when it
has more blocks available then /tmp. This can happen in
CentOS 7 where /tmp is mounted on a smaller tmpfs.

However if /tmp and /var/tmp are on the same filesystem
and the available space changes slightly between calls,
the testsuite could mistakenly select /var/tmp where it
was not necessary.  By changing the comparison function
to treat small differences in available space the same,
this problem is avoided.
Comments:By: Friendly Automation (friendly-automation) 2016-12-09 08:23:58.381-0600

Change 4452 merged by zuul:
Testsuite: avoid accidental use of alternate tmp

[https://gerrit.asterisk.org/4452|https://gerrit.asterisk.org/4452]