Message ID | 1532995121-2374-1-git-send-email-trini@konsulko.com |
---|---|
State | Accepted |
Commit | f437fea01c0befc2bbb20f9c07e248bf606d8b7a |
Delegated to: | Tom Rini |
Headers | show |
Series | [U-Boot] fs-test.sh: Update expected result output | expand |
On Mon, Jul 30, 2018 at 07:58:41PM -0400, Tom Rini wrote: > Given 0dc1bfb7302d ("fs: fat: cannot write to subdirectories") we have > changed how the FAT code works from creating the illegal file "./file" > and instead rejecting the path. The correct behavior would be to write > "file" to "." but not writing an illegal file is a step in the right > direction. For now, update the expected output to account for the > failure. > > Signed-off-by: Tom Rini <trini@konsulko.com> Applied to u-boot/master, thanks!
diff --git a/test/fs/fs-test.sh b/test/fs/fs-test.sh index 2e8d5ee4df94..9482239562ea 100755 --- a/test/fs/fs-test.sh +++ b/test/fs/fs-test.sh @@ -12,13 +12,13 @@ # fs-test.fs.ext4.out: Summary: PASS: 24 FAIL: 0 # FAT16 tests: # fs-test.sb.fat16.out: Summary: PASS: 24 FAIL: 0 -# fs-test.fat16.out: Summary: PASS: 21 FAIL: 3 -# fs-test.fs.fat16.out: Summary: PASS: 21 FAIL: 3 +# fs-test.fat16.out: Summary: PASS: 20 FAIL: 4 +# fs-test.fs.fat16.out: Summary: PASS: 20 FAIL: 4 # FAT32 tests: # fs-test.sb.fat32.out: Summary: PASS: 24 FAIL: 0 -# fs-test.fat32.out: Summary: PASS: 21 FAIL: 3 -# fs-test.fs.fat32.out: Summary: PASS: 21 FAIL: 3 -# Total Summary: TOTAL PASS: 204 TOTAL FAIL: 12 +# fs-test.fat32.out: Summary: PASS: 20 FAIL: 4 +# fs-test.fs.fat32.out: Summary: PASS: 20 FAIL: 4 +# Total Summary: TOTAL PASS: 200 TOTAL FAIL: 16 # pre-requisite binaries list. PREREQ_BINS="md5sum mkfs mount umount dd fallocate mkdir"
Given 0dc1bfb7302d ("fs: fat: cannot write to subdirectories") we have changed how the FAT code works from creating the illegal file "./file" and instead rejecting the path. The correct behavior would be to write "file" to "." but not writing an illegal file is a step in the right direction. For now, update the expected output to account for the failure. Signed-off-by: Tom Rini <trini@konsulko.com> --- test/fs/fs-test.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)