GithubHelp home page GithubHelp logo

Comments (5)

luwensu avatar luwensu commented on July 22, 2024

IMO, One way to fix is pass docker_data_prepare_cmd in [docker_cli/commit]
into the sub case part and let the command in [docker_cli/commit/check_default_cmd]
redirect to stdout, i'll sent a patch to fix this tomorrow.

from autotest-docker.

cevich avatar cevich commented on July 22, 2024

I didn't write this test and haven't looked deeply at the code in a long while. Normally I just re-write the test from scratch since sometimes that is faster than trying to read old/mouldy code. Anyway, thanks for the research into this, I'm glad you figured it out. Another idea might be to change the command to use tee instead of simple redirect. e.g. `"echo '%%s' | tee /var/i"```. Whatever way you think is best or most efficient is fine by me. Thanks again for looking into this.

from autotest-docker.

luwensu avatar luwensu commented on July 22, 2024

Thanks so much! It's more easier than my thought.I only did a quick fix to make the case pass first.
And i wonder how to update the document, since i found subtest.rst is in the list of .gitignore.
If it's okay to add it back, i'd like to push a patch to make up the document, not much, just delete one line about check_results_contain.

from autotest-docker.

cevich avatar cevich commented on July 22, 2024

I see from #501 I think you figured it out. subtest.rst is automatically generated by parsing the main subtest module docstring and doing some magic with the corresponding ini file. Assuming you have python-docutils and python-sphinx installed, running make should build it for you. I thought I wrote some docs about this....hmmm, guess not, better add that to the list.

from autotest-docker.

cevich avatar cevich commented on July 22, 2024

Docs link: http://docker-autotest.readthedocs.org/en/latest/#docker-cli-commit-subtest

(will rebuild based on #501 changes to master shortly)

from autotest-docker.

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.