Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Sep 6 11:11:02 UTC 2019 on sn-devel-184
esac
d=$(dirname "$recovery_lock")
- mkdir -vp "$d"
+ mkdir -p "$d"
;;
esac
required_result 1 ""
unit_test test -d "$dir"
-# FreeBSD mkdir -v just prints the filename. Filter the rest of the
-# message from other platforms, including any exotic quotes around the
-# filename.
-result_filter ()
-{
- sed \
- -e 's|^\(mkdir: created directory \)[[:punct:]]||' \
- -e 's|[[:punct:]]$||'
-}
-
-ok "$dir"
+ok_null
simple_test
# Ensure directory exists after