Skip to contentSkip to conversation

xfstests: fix 284 ENOENT error

PATCH In review Liu Bo 3 participants 3 messages Jan 6, 2013 – Jan 21, 2013 Btrfs file system

lore
Share & tools
lore

Liu Bo

author
#0 lore raw

PATCH 1/1 xfstests: fix 284 ENOENT error

284 misses a 'mkdir' operation.

---
 284 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
284 +1 -0
index c00e6f1..7f4a630 100644
@@ -44,6 +44,7 @@ _create_file()
 	if [ $1 -ne 2 ]; then
 		tmpfile="$SCRATCH_MNT/tmp_file"
 	else
+		mkdir -p $SCRATCH_MNT/tmp_dir
 		tmpfile="$SCRATCH_MNT/tmp_dir/tmp_file"
 	fi
 		
Signature · 1 line
1.7.7.6