test/run.sh -j reports "Wrong -j argument"

Reported by George Ormond Lorch III on 2013-07-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup
Low
Alexey Kopytov
2.0
Low
Alexey Kopytov
2.1
Low
Alexey Kopytov

Bug Description

In the new cleaned up test suite/parallel runner, specifying -j gives "Wrong -j argument". This appears to be a result of the test at line 774 in the while getopts loop:
      if [[ ! $OPTARG =~ ^[0-9]+$ || $NWORKERS < 1 ]]

At this point in the script NWORKERS has no value since it was just declared immediately above the loop and autocalc_nworkers has not yet been called.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers