On 09/11/2016 02:46 PM, Stefan Brüns wrote:
Instead of providing the full path, specify directory and filename
separately. This allows to specify intermediate directories, required
for some additional tests.

diff --git a/test/fs/fs-test.sh b/test/fs/fs-test.sh

@@ -166,11 +150,14 @@ function test_image() {

        case "$2" in
                fat)
+               FPATH=""
                PREFIX="fat"
                WRITE="write"
                ;;

                ext4)
+               # ext4 needs absolute path
+               FPATH="/"
                PREFIX="ext4"
                WRITE="write"
...
-               FILE_BIG=$6/$4
+       if [ ! -z "$6" ]; then
+               FPATH=${6}/${FPATH}
        fi

That adds a double slash in the case of ext4. That probably gets parsed OK, but it'd be nicer not to do the join with only a single /.

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to