summaryrefslogtreecommitdiff
path: root/tests/chmod/octal
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chmod/octal')
-rwxr-xr-xtests/chmod/octal8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/chmod/octal b/tests/chmod/octal
index 695dbbd38..add57775b 100755
--- a/tests/chmod/octal
+++ b/tests/chmod/octal
@@ -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
- chmod --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && chmod --version
# Before coreutils-5.92, this would mistakenly succeed,