[Bugs] [Bug 1438858] New: explicitly specify executor to be bash for tests

bugzilla at redhat.com bugzilla at redhat.com
Tue Apr 4 14:56:35 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1438858

            Bug ID: 1438858
           Summary: explicitly specify executor to be bash for tests
           Product: GlusterFS
           Version: mainline
         Component: tests
          Assignee: bugs at gluster.org
          Reporter: rtalur at redhat.com
                CC: bugs at gluster.org



Description of problem:
We use prove command to run tests. Sometimes tests fail rather strangely with
error as shown below:



Not a perl script at ./tests/bugs/core/bug-1111557.t line 1.
./tests/bugs/core/bug-1111557.t .. 
Dubious, test returned 25 (wstat 6400, 0x1900)
No subtests run

https://build.gluster.org/job/centos6-regression/3818/consoleFull
https://build.gluster.org/job/centos6-regression/3819/consoleFull
https://build.gluster.org/job/centos6-regression/3801/consoleFull



Quote from man page

```
 "--exec"
       Normally you can just pass a list of Perl tests and the harness will
know how to execute them.  However, if your tests are
       not written in Perl or if you want all tests invoked exactly the same
way, use the "-e", or "--exec" switch:

        prove --exec '/usr/bin/ruby -w' t/
```

Hence, better to comply with recommended practice although it might not be the
reason for this failure.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list