]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
fs-test: fix false positive error at Test Case 12
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 11 Sep 2018 06:59:17 +0000 (15:59 +0900)
committerAlexander Graf <agraf@suse.de>
Sun, 23 Sep 2018 19:55:30 +0000 (21:55 +0200)
The error message to be matched is wrong. Fix it.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
test/fs/fs-test.sh

index 9482239562eac6c1d0360cada4b6817600071d2c..e002b9105131853579f70637c225c3748d5ca6c7 100755 (executable)
@@ -522,7 +522,7 @@ function check_results() {
                "TC11: 1MB write to $3.w - content verified"
 
        # Check lookup of 'dot' directory
-       grep -A4 "Test Case 12 " "$1" | grep -q 'Unable to write file'
+       grep -A4 "Test Case 12 " "$1" | grep -q 'Unable to write'
        pass_fail "TC12: 1MB write to . - write denied"
 
        # Check directory traversal