The path /tmp.repair would be on the system root that could not be
writable, the temporary files are available at $tmp .
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
;;
btrfs)
echo 'yes|$BTRFS_UTIL_PROG check --repair --force "$TEST_DEV"' > \
- /tmp.repair 2>&1
+ $tmp.repair 2>&1
yes | $BTRFS_UTIL_PROG check --repair --force "$TEST_DEV" >> \
- /tmp.repair 2>&1
+ $tmp.repair 2>&1
res=$?
;;
*)