Skip to content
Myr

Adding a simple test for executable files

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Ptipiak · committed by Ptipiak · parent c9d3968 · Browse files · 1 file+7 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−0 removed

  • tests:+7 added−0 removed

1 file+7 added−0 removed

modified:tests/tests.rs+7 added
1195 unmodified lines
1196 .mode(0o777)1197 .open(te.test_root().join("executable-file.sh"))1198 .unwrap();11991200 fs::OpenOptions::new()1201 .create(true)1202 .write(true)1203 .mode(0o645)1204 .open(te.test_root().join("not-user-executable-file.sh"))1205 .unwrap();12061207 te.assert_output(&["--type", "executable"], "executable-file.sh");12081209 te.assert_output(1210 &["--type", "executable", "--type", "directory"],
1214 unmodified lines