Yann Collet
8c85b29e32
disable --rm on -o command
...
make it more similar to -c (aka `stdout`) convention.
2023-01-25 16:09:25 -08:00
W. Felix Handte
7a8c8f3fe7
Easy: Print Mode as Octal in chmod() Trace
2023-01-18 11:57:54 -08:00
W. Felix Handte
0d2d460223
Mimic gzip chown(gid), chmod(), chown(uid) Behavior
...
Avoids a race condition in which we unintentionally open up permissions to
the wrong group.
2023-01-18 11:57:54 -08:00
W. Felix Handte
1e3eba65a6
Copy Permissions from Source File
2023-01-18 11:57:35 -08:00
W. Felix Handte
0382076af7
Re-Use stat_t in FIO_compressFilename_srcFile()
2023-01-18 11:33:07 -08:00
W. Felix Handte
a5ed28f1fb
Use Existing Src File Stat in *_dstFile() Funcs
...
One fewer `stat()` call to make per operation!
2023-01-17 14:08:22 -08:00
Nick Terrell
7fe7a166c2
[cli-tests] Add tests that use --trace-file-stat
...
Basic tests for (de)compressing in the following modes:
* file to file
* file to stdout
* stdin to file
* stdin to stdout
These are basic tests, and aren't testing more advanced scenarios, but
it adds the groundwork for more complex tests as needed.
Fixes #3010 .
2022-12-21 18:32:12 -08:00