Merge ~fginther/+git/overlay-shiftfs-tests:fginther/shiftfs-hung-error-out into ~canonical-kernel-team/+git/overlay-shiftfs-tests:main
Proposed by
Francis Ginther
Status: | Merged |
---|---|
Merge reported by: | Po-Hsu Lin |
Merged at revision: | a53620f9219373277084cb09f82a7907cedee5c1 |
Proposed branch: | ~fginther/+git/overlay-shiftfs-tests:fginther/shiftfs-hung-error-out |
Merge into: | ~canonical-kernel-team/+git/overlay-shiftfs-tests:main |
Diff against target: |
19 lines (+2/-2) 1 file modified
tests/shiftfs-hung.sh (+2/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Po-Hsu Lin | Approve | ||
Review via email: mp+448284@code.launchpad.net |
Commit message
tests/shiftfs-
The shiftfs-hung.sh test was not set to exit on errors. This caused an
incorrect pass on kernels which did not have shiftfs available.
Signed-off-by: Francis Ginther <email address hidden>
Description of the change
The shiftfs-hung.sh test does not fail as it should on kernels without the shiftfs module. With the `-e`, this test will silently pass. After this update, it will now output an error message and return an error code:
$ ./shiftfs-hung.sh
mount: /tmp/d2: unknown filesystem type 'shiftfs'.
$ echo $?
32
To post a comment you must log in.
LGTM.
Thanks!