mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-11-24 03:12:27 +00:00
6743296d4d
Fail when an EL section of packages-manifest.conf lacks uftp, which BUILD.md documents for every EL target. CI now compiles uftp/mockbuild.pl, parses uftp.spec and runs perlcritic on the builder. native/uftp-fixes.t builds the sender, the receiver and the proxy from the archive and the patches with AddressSanitizer, and gives the functions that handle each fixed message the message that broke them. It checks that each client list of the proxy fits in its packet buffer, and that the proxy forwards the NAKs of plain, TFMCC and short client STATUS messages in a whole NAK list. It sends the receiver files with short, repeated and lost blocks, file names that try to leave the destination directory, and names of that directory itself, then checks the files on disk. It also covers a file with more sections than the protocol holds, a seek of the sender past block 2^31, a group with more than 10000 entries, and the STATUS of the receiver for a full section. It ends a group after another group replaced its file or changed its path, and a restarted group after it changed the path of its unused file. It backs up files below a symbolic link in the backup directory, and along a backup path longer than 300 bytes. The built programs must carry the xCAT build mark. CI runs it with the native tests and installs the compiler and the OpenSSL headers for it.