summaryrefslogtreecommitdiff
path: root/tests/dd/direct
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dd/direct')
-rwxr-xr-xtests/dd/direct8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/dd/direct b/tests/dd/direct
index 46bf35f32..1381ce68c 100755
--- a/tests/dd/direct
+++ b/tests/dd/direct
@@ -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
- dd --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && dd --version
truncate -s 8192 in || framework_failure
dd if=in oflag=direct of=out 2> /dev/null \