summaryrefslogtreecommitdiff
path: root/tests/du/two-args
diff options
context:
space:
mode:
Diffstat (limited to 'tests/du/two-args')
-rwxr-xr-xtests/du/two-args8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/du/two-args b/tests/du/two-args
index e679921fe..ed544b091 100755
--- a/tests/du/two-args
+++ b/tests/du/two-args
@@ -17,12 +17,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
- du --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && du --version
# Run this test from a sub-directory one level deeper than normal,
# so that the "du .." below doesn't traverse sibling directories