diff options
Diffstat (limited to 'tests/chown/preserve-root')
-rwxr-xr-x | tests/chown/preserve-root | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/chown/preserve-root b/tests/chown/preserve-root index 81483db5b..c01149629 100755 --- a/tests/chown/preserve-root +++ b/tests/chown/preserve-root @@ -16,12 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -if test "$VERBOSE" = yes; then - set -x - chown --version -fi - -. $srcdir/test-lib.sh +. "${srcdir=.}/init.sh"; path_prepend_ ../src +test "$VERBOSE" = yes && chown --version skip_if_root_ mkdir d && ln -s / d/slink-to-root |