Skip to content

Fixes for ProFTPd test suite

Jérome Perrin requested to merge jerome/slapos:feat/proftpd into master

!311 (merged) was merged a bit too fast. After test suite was repaired ( the test node was stuck updating the git repository ), test was not passing on testnode, because path was too deep.

While debugging this, I realized this check was wrong, because supervisor also append the pid to this path, so the path is even longer. I just checked that we have room for 7 digit pids.

Because path was too long on test node, test now run with SLAPOS_TEST_WORKING_DIR set to a slightly shorter path that's enough for this case.

There are some other minor fixes, see individual commits.

/cc @Nicolas @luke @rafael

Merge request reports