[asterisk-bugs] [JIRA] (ASTERISK-26602) Testsuite: invalid use of alternate /var/tmp path

Scott Griepentrog (JIRA) noreply at issues.asterisk.org
Tue Nov 15 14:17:10 CST 2016


Scott Griepentrog created ASTERISK-26602:
--------------------------------------------

             Summary: Testsuite: invalid use of alternate /var/tmp path
                 Key: ASTERISK-26602
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26602
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Tests/testsuite
            Reporter: Scott Griepentrog
            Severity: Minor


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.




--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list