[asterisk-commits] mnicholson: testsuite/asterisk/trunk r357 - /asterisk/trunk/asttest/lib/lua/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jun 7 10:53:11 CDT 2010
Author: mnicholson
Date: Mon Jun 7 10:53:08 2010
New Revision: 357
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=357
Log:
Added more information to the error string returned by proc.exists
Modified:
asterisk/trunk/asttest/lib/lua/proclib.c
Modified: asterisk/trunk/asttest/lib/lua/proclib.c
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/asttest/lib/lua/proclib.c?view=diff&rev=357&r1=356&r2=357
==============================================================================
--- asterisk/trunk/asttest/lib/lua/proclib.c (original)
+++ asterisk/trunk/asttest/lib/lua/proclib.c Mon Jun 7 10:53:08 2010
@@ -144,7 +144,10 @@
/* no executable paths were found */
lua_pushboolean(L, 0);
- lua_pushliteral(L, "no executable found");
+ lua_pushliteral(L, "no executable found for path '");
+ lua_pushvalue(L, 1);
+ lua_pushliteral(L, "'");
+ lua_concat(L, 3);
return 2;
}
More information about the asterisk-commits
mailing list