
12 Sep
2016
12 Sep
'16
8:33 p.m.
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
fiFPATH=${6}/${FPATH}
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 /.