Ticket #3751: perl-fix.diff

File perl-fix.diff, 2.3 KB (added by mooffie, 5 years ago)
  • tests/src/vfs/extfs/helpers-list/data/rpm.custom.env_vars

    diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.custom.env_vars b/tests/src/vfs/extfs/helpers-list/data/rpm.custom.env_vars
    index c08b141..a740c64 100644
    a b  
    1 MC_TEST_INPUT="$INPUT"   # export it. 
    2 MC_TEST_RPM_REWRITE="$DATA_DIR/rpm.rewrite.sh" 
     1MC_TEST_RPM_REWRITE="$MC_TEST_EXTFS_DATA_DIR/rpm.rewrite.sh" 
    32 
    43MCFASTRPM=               # disable "fast mode". 
  • tests/src/vfs/extfs/helpers-list/data/rpm.glib.env_vars

    diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.glib.env_vars b/tests/src/vfs/extfs/helpers-list/data/rpm.glib.env_vars
    index c08b141..a740c64 100644
    a b  
    1 MC_TEST_INPUT="$INPUT"   # export it. 
    2 MC_TEST_RPM_REWRITE="$DATA_DIR/rpm.rewrite.sh" 
     1MC_TEST_RPM_REWRITE="$MC_TEST_EXTFS_DATA_DIR/rpm.rewrite.sh" 
    32 
    43MCFASTRPM=               # disable "fast mode". 
  • tests/src/vfs/extfs/helpers-list/data/rpm.rewrite.sh

    diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.rewrite.sh b/tests/src/vfs/extfs/helpers-list/data/rpm.rewrite.sh
    index a6c4932..7828038 100644
    a b  
    55# 
    66 
    77# The tags file. 
    8 TAGSF="$MC_TEST_INPUT" 
     8TAGSF="$MC_TEST_EXTFS_INPUT" 
     9 
     10. "$MC_TEST_EXTFS_CONFIG_SH"  # Gain access to $PERL. 
    911 
    1012# ---------------------------------------------------------------------------- 
    1113 
    TAGSF="$MC_TEST_INPUT" 
    1820# 
    1921mcrpmfs_getSupportedTags() 
    2022{ 
    21   perl -e ' 
     23  $PERL -e ' 
    2224    $tagsf = $ARGV[0]; 
    2325 
    2426    do $tagsf or die("$tagsf: $!"); 
    mcrpmfs_getSupportedTags() 
    3941# 
    4042rpm_qf() 
    4143{ 
    42   perl -w -e ' 
     44  $PERL -w -e ' 
    4345    $tagsf = $ARGV[0]; 
    4446    $tmplt = $ARGV[1]; 
    4547 
  • (a) a/tests/src/vfs/extfs/helpers-list/misc/rpm/rpm2tags vs. (b) b/tests/src/vfs/extfs/helpers-list/misc/rpm/rpm2tags.pl

    diff --git a/tests/src/vfs/extfs/helpers-list/misc/rpm/rpm2tags b/tests/src/vfs/extfs/helpers-list/misc/rpm/rpm2tags.pl
    old mode 100755
    new mode 100644
    similarity index 93%
    rename from tests/src/vfs/extfs/helpers-list/misc/rpm/rpm2tags
    rename to tests/src/vfs/extfs/helpers-list/misc/rpm/rpm2tags.pl
    index b3c80cd..c776407
    a b  
    1 #!/usr/bin/perl 
    21use strict; 
    32use warnings; 
    43use Data::Dumper;