od: fix incomplete test

This commit is contained in:
Daniel Hofstetter
2025-10-17 15:48:59 +02:00
parent 0258583aac
commit 20775fd6a9
+4 -1
View File
@@ -53,13 +53,16 @@ fn test_file() {
.succeeds()
.no_stderr()
.stdout_is(unindent(ALPHA_OUT));
// Ensure that default format matches `-t o2`, and that `-t` does not absorb file argument
scene
.ucmd()
.arg("--endian=little")
.arg("-t")
.arg("o2")
.arg("test");
.arg("test")
.succeeds()
.stdout_only(unindent(ALPHA_OUT));
}
// Test that od can read 2 files and concatenate the contents