rust-torino / tmpfiles-rs

A Rust implementation of tmpfiles.d
2 stars 1 forks source link

Tests from systemd sources #1

Open baldoalessandro opened 4 years ago

baldoalessandro commented 4 years ago

It seems that all the existing tests on tmpfiles are in the testsuite-22.NN.sh files here https://github.com/systemd/systemd/blob/15529f5cea0ea60d1202994e5950a31e2b4916e7/test/units/

Should we base the tests on these?

Here some links for example

lu-zero commented 4 years ago

They can be useful as well it is the manpage. I'd split parsing and command execution though. for command execution we can rely on assert_cmd