Merge lp:~charlesk/keeper/keeper-tar-create-handle-bad-user-inputs-gracefully into lp:keeper
Proposed by
Charles Kerr
Status: | Merged |
---|---|
Merge reported by: | Charles Kerr |
Merged at revision: | not available |
Proposed branch: | lp:~charlesk/keeper/keeper-tar-create-handle-bad-user-inputs-gracefully |
Merge into: | lp:keeper |
Prerequisite: | lp:~charlesk/keeper/service-dbusmock-should-notice-helper-failure |
Diff against target: |
417 lines (+221/-60) 9 files modified
src/tar/main.cpp (+16/-0) src/tar/tar-creator.cpp (+7/-2) tests/CMakeLists.txt (+0/-2) tests/unit/CMakeLists.txt (+0/-5) tests/unit/tar/CMakeLists.txt (+36/-0) tests/unit/tar/keeper-tar-create-test.cpp (+87/-5) tests/unit/tar/ktc-invoke-nobus.sh.in (+2/-0) tests/unit/tar/ktc-invoke-nofiles.sh.in (+1/-0) tests/unit/tar/tar-creator-test.cpp (+72/-46) |
To merge this branch: | bzr merge lp:~charlesk/keeper/keeper-tar-create-handle-bad-user-inputs-gracefully |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Xavi Garcia (community) | Approve | ||
Review via email:
|
Commit message
keeper-tar-create should fail gracefully if the user invokes without a busname or filenames.
Description of the change
keeper-tar-create should fail gracefully if the user invokes without a busname or filenames.
Add unit tests to confirm an error is returned in either of those two situations.
To post a comment you must log in.
Looks like the branch should depend lp:~charlesk/keeper/service-dbusmock-should-notice-helper-failure....
Looks good to me, only one question about how it waits for stdin...