[Asterisk-code-review] run-local: Avoid infinite loop with astcachedir at /tmp (testsuite[18])
Sean Bright
asteriskteam at digium.com
Fri Dec 11 10:54:21 CST 2020
Sean Bright has uploaded this change for review. ( https://gerrit.asterisk.org/c/testsuite/+/15241 )
Change subject: run-local: Avoid infinite loop with astcachedir at /tmp
......................................................................
run-local: Avoid infinite loop with astcachedir at /tmp
If astcachedir is /tmp, the test setup code will try to mirror an
infinitely deep directory structure. This is more a workaround than a
'fix.'
Does not affect master.
Change-Id: Idd943169d69521a8d3afa746163f4d90d3c8fdbc
---
M run-local
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/41/15241/1
diff --git a/run-local b/run-local
index 326ac50..3a984b1 100755
--- a/run-local
+++ b/run-local
@@ -36,7 +36,7 @@
menuselect/menuselect --enable DONT_OPTIMIZE --enable TEST_FRAMEWORK $MENUSELECT_OPTIONS
fi
make
- make install samples DESTDIR="$HERE/astroot"
+ make install samples DESTDIR="$HERE/astroot" ASTCACHEDIR="/var/cache/asterisk"
)
if [ -x tests/custom/custom-setup ]; then
./tests/custom/custom-setup
--
To view, visit https://gerrit.asterisk.org/c/testsuite/+/15241
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: testsuite
Gerrit-Branch: 18
Gerrit-Change-Id: Idd943169d69521a8d3afa746163f4d90d3c8fdbc
Gerrit-Change-Number: 15241
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20201211/ebccc1ab/attachment.html>
More information about the asterisk-code-review
mailing list