summaryrefslogtreecommitdiff
path: root/tests/rm/unreadable
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/unreadable')
-rwxr-xr-xtests/rm/unreadable5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/rm/unreadable b/tests/rm/unreadable
index 05024c2dc..4fb40235c 100755
--- a/tests/rm/unreadable
+++ b/tests/rm/unreadable
@@ -16,11 +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/>.
-: ${PERL=perl}
: ${srcdir=.}
-
-$PERL -e 'use warnings;' > /dev/null 2>&1 ||
- skip_test_ "configure didn't find a usable version of Perl"
+. $srcdir/../require-perl
me=`echo $0|sed 's,.*/,,'`
exec $PERL -w -I$srcdir/.. -MCoreutils -M"CuTmpdir qw($me)" -- - << \EOF