logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

db-6.0.20-test-link.patch (1568B)


  1. diff -Nuar db-6.0.20.orig/test/tcl/parallel.tcl db-6.0.20/test/tcl/parallel.tcl
  2. --- db-6.0.20.orig/test/tcl/parallel.tcl 2013-07-04 15:49:43.408348040 +0000
  3. +++ db-6.0.20/test/tcl/parallel.tcl 2013-07-04 17:40:07.147943377 +0000
  4. @@ -289,16 +289,26 @@
  5. [eval glob -nocomplain {$dir/$buildpath/db_{reptest,repsite,replicate}$EXE}] \
  6. $destdir/$buildpath}
  7. }
  8. + catch {
  9. + set l [eval glob {$dir/.libs} {$dir/db_{checkpoint,deadlock}$EXE} \
  10. + {$dir/db_{dump,load,printlog,recover,stat,upgrade}$EXE} \
  11. + {$dir/db_{archive,verify,hotbackup,log_verify}$EXE}]
  12. + foreach fn $l {
  13. + set fbasename [file tail $fn]
  14. + eval file link {$destdir/$fbasename} $fn
  15. + }
  16. + }
  17. + # we will be modifying this file, so we must copy, not link
  18. catch {eval file copy \
  19. - [eval glob {$dir/{.libs,include.tcl}}] $destdir}
  20. + [eval glob {$dir/include.tcl}] $destdir}
  21. # catch {eval file copy $dir/$queuedir $destdir}
  22. - catch {eval file copy \
  23. - [eval glob {$dir/db_{checkpoint,deadlock}$EXE} \
  24. - {$dir/db_{dump,load,printlog,recover,stat,upgrade}$EXE} \
  25. - {$dir/db_{archive,verify,hotbackup,log_verify}$EXE}] \
  26. - $destdir}
  27. - catch {eval file copy \
  28. - [eval glob -nocomplain {$dir/db_{reptest,repsite,replicate}$EXE}] $destdir}
  29. + catch {
  30. + set l [eval glob -nocomplain {$dir/db_{reptest,repsite,replicate}$EXE}]
  31. + foreach fn $l {
  32. + set fbasename [file tail $fn]
  33. + eval file link {$destdir/$fbasename} $fn
  34. + }
  35. + }
  36. # Create modified copies of include.tcl in parallel
  37. # directories so paths still work.