Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Stub in sharness framework #180

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Aug 2, 2017

  1. test/sharness: Add sharness v1.0.0 as a submodule

    It's GPLv2+ [1], so using a submodule keeps the separation from our
    Apache 2.0 source clear.  And it's an isolated enough dependency that
    I prefer to keep the Git histories separate.
    
    Generated with:
    
      $ mkdir test
      $ git submodule add git://github.com/mlafeldt/sharness.git test/sharness
      $ (cd test/sharness && git checkout v1.0.0)
      $ git add test/sharness
      $ cd test
      $ ln -s sharness/aggregate-results.sh
      $ ln -s sharness/sharness.sh
      $ ln -s sharness/test/Makefile
      $ emacs README.md
      $ git add README.md Makefile sharness.sh aggregate-results.sh
    
    [1]: https://github.com/mlafeldt/sharness/tree/v1.0.0#license
    
    Signed-off-by: W. Trevor King <wking@tremily.us>
    wking committed Aug 2, 2017
    Configuration menu
    Copy the full SHA
    509117e View commit details
    Browse the repository at this point in the history
  2. test/t0001-oci-runtime-tool.t: Test --help and --version

    Signed-off-by: W. Trevor King <wking@tremily.us>
    wking committed Aug 2, 2017
    Configuration menu
    Copy the full SHA
    aa46267 View commit details
    Browse the repository at this point in the history
  3. test/t1000-generate-output.t: Tests generate and --output

    Signed-off-by: W. Trevor King <wking@tremily.us>
    wking committed Aug 2, 2017
    Configuration menu
    Copy the full SHA
    4f96bb3 View commit details
    Browse the repository at this point in the history
  4. test/t1001-generate-template.t: Add --template tests

    Using jq to format the output so we don't have to worry about
    oci-runtime-tool's default tab indents or lack of trailing newlines,
    neither of which play nicely with <<-EOF here documents.
    
    Signed-off-by: W. Trevor King <wking@tremily.us>
    wking committed Aug 2, 2017
    Configuration menu
    Copy the full SHA
    3cda91b View commit details
    Browse the repository at this point in the history
  5. .travis.yml: Run the sharness tests

    Signed-off-by: W. Trevor King <wking@tremily.us>
    wking committed Aug 2, 2017
    Configuration menu
    Copy the full SHA
    11deb9d View commit details
    Browse the repository at this point in the history