# test that send -p does not corrupt paths when send is using 2 different mount
# points
-source "$TOP/tests/common"
+source "$TEST_TOP/common"
check_prereq btrfs
check_prereq mkfs.btrfs
run_mustfail_stdout "send -p on 2 mount points" \
$SUDO_HELPER "$TOP/btrfs" send -f /dev/null -p \
"$SUBVOL_MNT/test-subvol-mnt-subvol" "$TOPLEVEL_MNT/test-subvol-mnt-root" \
- | tee -a "$RESULTS" \
+ | _log_stdout \
| grep -q "not on mount point.*/toplevel" \
|| _fail "expected output not found, please check the logs"