input-types.t: don't litter ./tests/

[?]
Feb 24, 2021, 2:42 AM
NYLYQIFHMCLACHQU3LGQCKTVIGBGOUBTGETNFWDKQCCZGDLMFO7AC

Dependencies

  • [2] HRBL4HYR input-types: use is() for test comparisons
  • [3] A43SLRSH Fix handling of IPC::Run::run exit status
  • [4] ZTYKNDOL Move tests for SCM inputs in to its own .t
  • [5] QIW2WZKW Fix indentation
  • [6] VI32YSGA I should test first
  • [7] V2ALOFRR Fix the test
  • [8] HE3GX5IP Optimize fetch-git.
  • [9] 3RL7VFKE Add tests for "git describe --long".
  • [*] HX4QYOYA add first evaluations tests

Change contents

  • replacement in tests/input-types.t at line 15
    [3.295][3.295:331]()
    my $jobsBaseUri = "file://".getcwd;
    [3.295]
    [3.331]
    my $testdir = getcwd;
    my $scratchdir = "$datadir/scratch";
    mkdir $scratchdir;
    my $jobsBaseUri = "file://".$scratchdir;
  • replacement in tests/input-types.t at line 27
    [3.496][3.496:545]()
    update => getcwd . "/jobs/svn-update.sh"
    [3.496]
    [3.545]
    update => $testdir . "/jobs/svn-update.sh"
  • replacement in tests/input-types.t at line 34
    [3.716][3.716:774]()
    update => getcwd . "/jobs/svn-checkout-update.sh"
    [3.716]
    [3.774]
    update => $testdir . "/jobs/svn-checkout-update.sh"
  • replacement in tests/input-types.t at line 41
    [3.909][3.909:958]()
    update => getcwd . "/jobs/git-update.sh"
    [3.909]
    [3.958]
    update => $testdir . "/jobs/git-update.sh"
  • replacement in tests/input-types.t at line 48
    [3.1142][3.1142:1195]()
    update => getcwd . "/jobs/git-rev-update.sh"
    [3.1142]
    [3.1195]
    update => $testdir . "/jobs/git-rev-update.sh"
  • replacement in tests/input-types.t at line 55
    [3.1347][3.1347:1396]()
    update => getcwd . "/jobs/git-update.sh"
    [3.1347]
    [3.1396]
    update => $testdir . "/jobs/git-update.sh"
  • replacement in tests/input-types.t at line 62
    [3.1531][3.1531:1580]()
    update => getcwd . "/jobs/bzr-update.sh"
    [3.1531]
    [3.1580]
    update => $testdir . "/jobs/bzr-update.sh"
  • replacement in tests/input-types.t at line 69
    [3.1751][3.1751:1809]()
    update => getcwd . "/jobs/bzr-checkout-update.sh"
    [3.1751]
    [3.1809]
    update => $testdir . "/jobs/bzr-checkout-update.sh"
  • replacement in tests/input-types.t at line 76
    [3.1940][3.1940:1988]()
    update => getcwd . "/jobs/hg-update.sh"
    [3.1940]
    [3.1988]
    update => $testdir . "/jobs/hg-update.sh"
  • replacement in tests/input-types.t at line 83
    [3.2131][3.2131:2182]()
    update => getcwd . "/jobs/darcs-update.sh"
    [3.2131]
    [3.2182]
    update => $testdir . "/jobs/darcs-update.sh"
  • replacement in tests/input-types.t at line 99
    [2.335][2.335:403]()
    my ($loop, $updated) = updateRepository($scmName, $update);
    [2.335]
    [2.403]
    my ($loop, $updated) = updateRepository($scmName, $update, $scratchdir);
  • replacement in tests/input-types.t at line 116
    [2.1197][2.1197:1298]()
    ($loop, $updated) = updateRepository($scmName, $update, getcwd . "/$scmName-repo/");
    [2.1197]
    [2.1298]
    ($loop, $updated) = updateRepository($scmName, $update, $scratchdir);
  • replacement in tests/lib/Setup.pm at line 118
    [3.4354][3.1972:2001]()
    my ($scm, $update) = @_;
    [3.4354]
    [3.2001]
    my ($scm, $update, $scratchdir) = @_;
    my $curdir = getcwd;
    chdir "$scratchdir";
  • edit in tests/lib/Setup.pm at line 122
    [3.2077]
    [3.3730]
    chdir "$curdir";