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

Bug #1201599 reported by George Ormond Lorch III on 2013-07-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup
Alexey Kopytov
Alexey Kopytov
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.

Related branches

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-886

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

Other bug subscribers