summaryrefslogtreecommitdiff
path: root/tests/server/fake_ntlm.c
Commit message (Collapse)AuthorAgeFilesLines
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* tests: introduce preprocessed test casesDaniel Stenberg2020-04-181-12/+5
| | | | | | | | | | | | The runtests script now always performs variable replacement on the entire test source file before the test gets executed, and saves the updated version in a temporary file (log/test[num]) so that all test case readers/servers can use that version (if present) and thus enjoy the powers of test case variable substitution. This is necessary to allow complete port number freedom. Test 309 is updated to work with a non-fixed port number thanks to this.
* snprintf: renamed and we now only use msnprintf()Daniel Stenberg2018-11-231-4/+4
| | | | | | | | | | | The function does not return the same value as snprintf() normally does, so readers may be mislead into thinking the code works differently than it actually does. A different function name makes this easier to detect. Reported-by: Tomas Hoger Assisted-by: Daniel Gustafsson Fixes #3296 Closes #3297
* tests: Fix format specifiersRikard Falkeborn2018-05-141-1/+1
|
* code style: use spaces around plusesDaniel Stenberg2017-09-111-1/+2
|
* code style: use spaces around equals signsDaniel Stenberg2017-09-111-5/+5
|
* tests: make test file names more uniqueDan Fandrich2017-05-091-10/+14
| | | | | | Include the test number in the names of files written out by tests to reduce the chance of accidental duplication and to make it more clear which test is associated with which file.
* tests/server: make string literals constMarcel Raad2017-05-041-3/+3
| | | | | | | assign string literals to const char * instead of char * in order to avoid a lot of these warnings: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
* tests/server: comply with our code styleDaniel Stenberg2016-04-031-7/+10
|
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* test servers: fix errno, ERRNO and SOCKERRNO usage for W32/W64Yang Tse2013-01-091-5/+5
|
* Revert changes relative to lib/*.[ch] recent renamingYang Tse2013-01-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts renaming and usage of lib/*.h header files done 28-12-2012, reverting 2 commits: f871de0... build: make use of 76 lib/*.h renamed files ffd8e12... build: rename 76 lib/*.h files This also reverts removal of redundant include guard (redundant thanks to changes in above commits) done 2-12-2013, reverting 1 commit: c087374... curl_setup.h: remove redundant include guard This also reverts renaming and usage of lib/*.c source files done 3-12-2013, reverting 3 commits: 13606bb... build: make use of 93 lib/*.c renamed files 5b6e792... build: rename 93 lib/*.c files 7d83dff... build: commit 13606bbfde follow-up 1 Start of related discussion thread: http://curl.haxx.se/mail/lib-2013-01/0012.html Asking for confirmation on pushing this revertion commit: http://curl.haxx.se/mail/lib-2013-01/0048.html Confirmation summary: http://curl.haxx.se/mail/lib-2013-01/0079.html NOTICE: The list of 2 files that have been modified by other intermixed commits, while renamed, and also by at least one of the 6 commits this one reverts follows below. These 2 files will exhibit a hole in history unless git's '--follow' option is used when viewing logs. lib/curl_imap.h lib/curl_smtp.h
* build: make use of 76 lib/*.h renamed filesYang Tse2012-12-281-2/+2
| | | | | | 76 private header files renamed to use our standard naming scheme. This change affects 322 files in libcurl's source tree.
* setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>Yang Tse2012-12-141-4/+0
| | | | Inclusion of top two most included header files now done in setup_once.h
* test servers: build adjustmentYang Tse2012-04-101-5/+3
| | | | | Undefine CURL_HIDDEN_SYMBOLS libcurl private preprocessor macro that might leak from lib/setup.h into source files where this should not be defined.
* fix bool variables checking and assignmentYang Tse2011-09-051-1/+1
|
* NTLM single-sign on adjustments (VIII)Yang Tse2011-07-311-4/+4
| | | | | | | | | | | | Use preprocessor symbols WINBIND_NTLM_AUTH_ENABLED and WINBIND_NTLM_AUTH_FILE for Samba's winbind daemon ntlm_auth helper code implementation and filename. Retain preprocessor symbol USE_NTLM_SSO for NTLM single-sign-on feature availability implementation independent. For test harness, prefix NTLM_AUTH environment vars with CURL_ Refactor and rename configure option --with-ntlm-auth to --enable-wb-ntlm-auth[=FILE]
* fix compiler warningYang Tse2011-07-291-1/+1
|
* NTLM single-sign on adjustments (VI)Yang Tse2011-07-281-0/+4
| | | | Fix compiler warning
* Removed an extraneous \n that violated the SSO daemon protocolDan Fandrich2011-07-281-1/+1
| | | | | This caused fake_ntlm to abort due to an invalid command causing sporadic test 2005 failures.
* NTLM single-sign on adjustments (V)Yang Tse2011-07-281-1/+75
| | | | Enhance test harness fake_ntlm logging upon invalid input.
* NTLM single-sign on adjustments (IV)Yang Tse2011-07-271-2/+8
| | | | Fix compiler warning
* NTLM single-sign on adjustments (II)Yang Tse2011-07-271-1/+36
| | | | Ensure test harness fake_ntlm main function can properly handle arguments.
* Fixed test 2005 to work in out-of-tree buildsDan Fandrich2011-07-261-5/+20
| | | | | Also, set the test number in the test data file so fake_ntlm can be reused in future tests.
* fix compiler warningYang Tse2011-07-261-2/+10
|
* test2005: verify ntlm single-signonMandy Wu2011-07-181-0/+141