Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/uu/dd/locales/en-US.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ dd-error-conv-flag-no-match = Unrecognized conv=CONV -> { $flag }
dd-error-multiplier-parse-failure = invalid number: '{ $input }'
dd-error-multiplier-overflow = Multiplier string would overflow on current system -> { $input }
dd-error-block-without-cbs = conv=block or conv=unblock specified without cbs=N
dd-error-status-not-recognized = status=LEVEL not recognized -> { $level }
dd-error-status-not-recognized = invalid status level: ‘{ $level }

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know what's the French equivalent of that error message.

dd-error-unimplemented = feature not implemented on this system -> { $feature }
dd-error-bs-out-of-range = { $param }=N cannot fit into memory
dd-error-invalid-number = invalid number: ‘{ $input }’
Expand Down
8 changes: 8 additions & 0 deletions tests/by-util/test_dd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2209,3 +2209,11 @@ fn test_count_bytes_with_expanding_block_conv() {
assert_eq!(bytecount::count(&output, b'a'), 1000);
assert!(!output.contains(&b'Z'));
}

#[test]
fn test_invalid_status_level() {
new_ucmd!()
.args(&["status=invalid"])
.fails()
.stderr_contains("dd: invalid status level: ‘invalid’");
}
Comment on lines +2214 to +2219

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I still have to include this or not?

Loading