#!/usr/bin/env bash # SPDX-License-Identifier: BSD-3-Clause # Copyright 2018-2019, Intel Corporation # # src/test/obj_root/TEST1 -- unit test for pmemobj_root # . ../unittest/unittest.sh require_test_type long # the test takes too long under pmemcheck configure_valgrind pmemcheck force-disable setup # required free space is larger than file size, to be sure that the test # will run require_free_space 18G create_holey_file 17G $DIR/testfile expect_normal_exit ./obj_root$EXESUFFIX $DIR/testfile l pass