Summary: | ASTERISK-24126: testsuite: run-local creates broken symlinks | ||
Reporter: | Corey Farrell (coreyfarrell) | Labels: | |
Date Opened: | 2014-07-25 21:29:29 | Date Closed: | 2014-08-08 15:40:28 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Tests/testsuite |
Versions: | SVN | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | 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} | ||
Comments: |