Menu

#328 some provider testsuite scripts can\'t find run.sh

Function
closed-wont-fix
Test (37)
5
2008-11-23
2006-01-25
No

Environment - using SLES 9 pegasus rpm. Compiling
SBLIM providers myself.

for cmpi-base, cmpi-network and cmpi-fsvol, the
testsuite shell script is not setting the $SCRIPT_PATH
variable correctly, so the line:
. $SCRIPT_PATH/run.sh is trying to call
/run.sh (which of course is not in the "/" directory)

Discussion

  • Lynn M. Moss

    Lynn M. Moss - 2006-01-25
    • assigned_to: nobody --> lynnmoss
     
  • Tyrel Datwyler

    Tyrel Datwyler - 2006-01-26

    Logged In: YES
    user_id=640104

    I believe those scripts try and set the path using the
    following:

    SCRIPT_PATH=`dirname ${BASH_SOURCE}`

    the $BASH_SOURCE variable is not defined on SuSE distros.

     
  • Heidi Eckhart

    Heidi Eckhart - 2007-01-10
    • assigned_to: lynnmoss --> heidineu
     
  • Heidi Eckhart

    Heidi Eckhart - 2007-04-17
    • summary: some provider testsuite scripts can't find run.sh --> some provider testsuite scripts can\'t find run.sh
    • assigned_to: heidineu --> tyreld
     
  • Tyrel Datwyler

    Tyrel Datwyler - 2008-09-23

    The $BASH_SOURCE variable is only available in bash versions >= 3.0. The latest versions of RHEL and SLES ship with bash versions newer then 3.0. For bash versions less than 3.0 the scripts work fine as long as the are invoked from within the same directory as ./run.sh. Closing this defect in response.

     
  • Tyrel Datwyler

    Tyrel Datwyler - 2008-09-23
    • status: open --> pending-wont-fix
     
  • Tyrel Datwyler

    Tyrel Datwyler - 2008-09-23

    As a side note I've verified versions of bash >= 3.0 in SLES 10 and RHEL 5.1.

     
  • SourceForge Robot

    • status: pending-wont-fix --> closed-wont-fix
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 60 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.