403Webshell
Server IP : 103.119.228.120  /  Your IP : 3.144.41.200
Web Server : Apache
System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : nobody ( 99)
PHP Version : 5.6.40
Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime
MySQL : ON |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /usr/local/ssl/local/ssl/local/ssl/share/doc/xmlrpc-c-1.32.5/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/local/ssl/local/ssl/local/ssl/share/doc/xmlrpc-c-1.32.5/TESTING
In general, we want to run as many automated test tools on the
Xmlrpc-c libraries as possible.  Before releasing a new release,
please run as many of these tests as possible.


Included Test Suites
--------------------

The 'test' program tests core functions.  These are functions that
don't involve HTTP communications.  So obviously, it doesn't do any
end-to-end client/server tests.

The program is in src/test/test.  You have to build that explicitly (with
src/test/ as your current directory, do a 'make'); a top level 'make all'
doesn't build it.  (Reason: it's a tricky build, and we don't a user's
build to fail just because of this program that a user doesn't need).

src/cpp/cpptest is similar for the C++ libraries.

Note: Before Release 1.03, 'test' was called 'rpctest' and both it
and 'cpptest' were in the src/ directory and were built by 'make all'.


Memory Leaks
------------

(Linux only?) Install Owen Taylor's 'memprof' utility. This program
includes a malloc debugger and a conservative garbage collector. To run it,
type:

  memprof test

This should report any memory leaks which occur while the test suites are
running.


Electric Fence
--------------

(Most Unix platforms.) Install Bruce Perens' Electric Fence library, and
read the man pages carefully. Link 'test' against '-lefence', and run it
with the following sets of environment variables:

  1) (Default environment.)
     Test for heap block overruns.

  2) EF_PROTECT_BELOW=1
     Test for heap block underruns.

  3) EF_PROTECT_FREE=1
     Test for doubly-freed memory and illegal accesses to freed memory.

  4) EF_ALIGNMENT=0
     Test for very small block overruns. This is an important test, but
     it may not work on some platforms. Please see the efence manpage for
     more information.

(After each run, unset the environment variables from the previous run.)

Using a Bourne shell (such as bash) you can run all these tests as follows:

  test
  EF_PROTECT_BELOW=1 test
  EF_PROTECT_FREE=1 test
  EF_ALIGNMENT=0 test

Alternatively, if you have a copy of Purify installed, please run that.


End-to-End Tests
----------------

To test Abyss and the client XML transports, use the example
programs examples/sample_add_server and examples/sample_add_client:

  $ export XMLRPC_TRACE_XML=1
  $ examples/sample_add_server 8080&
  $ examples/sample_add_client

Note that we use XMLRPC_TRACE_XML so we can see the XML flying by on
both sides of the connection.

Note that the Port 8080 is hardcoded in sample_add_client.

Note that sample_add_client uses only the default XML transport.


You can do more extensive client testing with the 'xmlrpc' program
(tools/xmlrpc/xmlrpc).


Tips
----

To debug Abyss without threads, don't pass -D_UNIX or -D_WIN32. The server
will run in a single-threaded mode.

Youez - 2016 - github.com/yon3zu
LinuXploit