Dave Page dpage
Thu Jun 30 09:03:09 PDT 2005
 
[Resent as the orginal seems to have been lost in the queue]

The attached patch allows the ducttape tests to be run in an 
Msys environment on Win32. The following changes were required:

- xterm is replaced with /bin/rxvt on win32 only as there is 
  no xterm in Msys by default.

- The path to 'which' is hardcoded on win32 only, to prevent 
  accidental use of a second (broken) version supplied with Mingw.

- Use psql's -o option to output data dumps to files in 
  compare_pgbench_dumps. This avoids using the pager which is 
  likely to be C:\windows\System32\more.com on Win32 and cannot 
  handle more than 8MB of data at once. 

To apply this patch, apply the patch itself as normal, and 
then rename "src/ducctape/test_*" to "src/ducctape/test_*.in"

Please apply to CVS.

Regards, Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win32_ducttape.diff.gz
Type: application/x-gzip
Size: 3061 bytes
Desc: win32_ducttape.diff.gz
Url : http://gborg.postgresql.org/pipermail/slony1-general/attachments/20050630/60eb8140/win32_ducttape.diff.bin


More information about the Slony1-general mailing list