Coder Social home page Coder Social logo

Comments (5)

asomers avatar asomers commented on June 24, 2024

Could you please rephrase the question? Use complete sentences so I can understand what you mean.

If it's prove's output you don't like, then that's an issue with prove, not pjdfstest. You can always try prove -v.

from pjdfstest.

ngie-eign avatar ngie-eign commented on June 24, 2024

@samuelsh: as @asomers noted, the best way to get more information is use prove -v instead of prove.

What the above output is stating is that there were 2 tests in rmdir/07.t that failed, and a test in rmdir/08.t that failed. You need to use prove -v to drill down further.

from pjdfstest.

samuelsh avatar samuelsh commented on June 24, 2024

Thanks @asomers/ @ngie-eign ,
prove -v indeed helped, but still I'm not sure if there's easy way to locate failed subtests, i.e:

not ok 111 - tried 'chown pjdfstest_4fab06e83b05b8508c49ce1e12a0954c 65535 65535', expected 0, got EPERM
not ok 112 - tried '-u 65535 -g 65535 chmod pjdfstest_4fab06e83b05b8508c49ce1e12a0954c 02755', expected 0, got EPERM
not ok 113 - tried 'stat pjdfstest_4fab06e83b05b8508c49ce1e12a0954c mode', expected 02755, got 0755
not ok 114 - tried '-u 65535 -g 65535 chmod pjdfstest_4fab06e83b05b8508c49ce1e12a0954c 0755', expected 0, got EPERM
ok 115
not ok 116 - tried '-u 65535 -g 65534 chmod pjdfstest_4fab06e83b05b8508c49ce1e12a0954c 02755', expected 0, got EPERM
ok 117
ok 118
ok 119
Failed 17/119 subtests

Test Summary Report
-------------------
/home/vastdata/qa/pjdfstest/tests/chmod/00.t (Wstat: 0 Tests: 119 Failed: 17)
  Failed tests:  87-88, 91-92, 95-96, 99-100, 103-104, 107-108
                111-114, 116
Files=1, Tests=119, 12 wallclock secs ( 0.04 usr  0.01 sys +  0.23 cusr  0.35 csys =  0.63 CPU)
Result: FAIL

Now I would like to find subtest #87 in order to debug it explicitly vs my FileSystem.
How do I find that specific subtest in chmod/00.t file?

Thanks

from pjdfstest.

asomers avatar asomers commented on June 24, 2024

You essentially have to count all of the expect statements, keeping in mind loops and macros.

from pjdfstest.

samuelsh avatar samuelsh commented on June 24, 2024

Great, thanks a lot :)

from pjdfstest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.