[asterisk-bugs] [JIRA] (ASTERISK-24126) testsuite: run-local creates broken symlinks
Corey Farrell (JIRA)
noreply at issues.asterisk.org
Fri Jul 25 21:31:56 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Corey Farrell updated ASTERISK-24126:
-------------------------------------
Status: Open (was: Triage)
> testsuite: run-local creates broken symlinks
> --------------------------------------------
>
> Key: ASTERISK-24126
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24126
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Tests/testsuite
> Affects Versions: SVN
> Reporter: Corey Farrell
>
> When using run-local, files are created in /tmp/ast_test_XXXXXX symbolic links created by mktemp. This causes folders in astroot/tmp to be broken immediately after run-local exits.
> This additionally causes the testsuite to fail to find log files on all runs past the first.
> {quote}
> $ ls -lh astroot/tmp/channels/SIP/
> total 0
> lrwxrwxrwx 1 cfarrell cfarrell 57 Jul 25 22:12 path -> /tmp/ast_test_1YM84W/tmp/8b45633c808b7fa365b7fd61078fc1a2
> {quote}
> The solution is to use a relative path.
> {quote}
> $ ls -lh astroot/tmp/channels/SIP/
> total 0
> lrwxrwxrwx 1 cfarrell cfarrell 38 Jul 25 21:57 path -> ../../8b45633c808b7fa365b7fd61078fc1a2
> {quote}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list