MetPX / sarrac

C implementation of (a subset of) Sarracenia (large scale file transfer utility)
GNU General Public License v2.0
4 stars 1 forks source link

get Redhat tree copies working #151

Closed petersilva closed 3 months ago

petersilva commented 4 months ago

Got redhat tree copies working

Added a KNOWN_REDIRECTION_BUG switch into the shim library tests, and provided alternatives or disabled all the tests that will fail.

I'm pretty sure it was only in the login/initial shell before, and that subshells would work, but I'm just making the tests pass for now to have a baseline of working sanity tests. Consider this a work-around

Have to investigate the redirection issue separately.

Also beefed up documentation about how to build considerably... example of "make" run, and some description of the test Makefile targets.

petersilva commented 4 months ago

working on a cleaner version of REDIRECTION_BUG ... hang on...

petersilva commented 4 months ago

with the latest bug... all of the tests of re-direction are back in the test suite. The only thing needed was to ensure a sub-shell was spawned to get the re-direction to behave properly. So now, I know it's almost fully working on redhat (8 and 9)

There is one niggling test I still have to put a guard around with KNOWN_REDIRECTION_BUG, a touch that should not generate a post because the minimum interval should suppress it... works on ubuntu, but not redhat... reuires further investigation, but still what is here is a big improvement.