Author: pburba Date: Mon Jun 6 21:54:17 2011 New Revision: 1132796 URL: http://svn.apache.org/viewvc?rev=1132796&view=rev Log: * subversion/tests/svn_test_main.c (main): Let options and arguments be interleaved. This prevents something like 'op-depth-test.exe 1 --fs-type bdb' from silently choking on the '1' and thus ignoring the --fs-type argument and defaulting to fsfs.
Modified: subversion/trunk/subversion/tests/svn_test_main.c Modified: subversion/trunk/subversion/tests/svn_test_main.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/svn_test_main.c?rev=1132796&r1=1132795&r2=1132796&view=diff ============================================================================== --- subversion/trunk/subversion/tests/svn_test_main.c (original) +++ subversion/trunk/subversion/tests/svn_test_main.c Mon Jun 6 21:54:17 2011 @@ -395,6 +395,8 @@ main(int argc, const char *argv[]) err = svn_cmdline__getopt_init(&os, argc, argv, pool); + os->interleave = TRUE; /* Let options and arguments be interleaved */ + /* Strip off any leading path components from the program name. */ prog_name = strrchr(argv[0], '/'); if (prog_name)