Add trivial tests for gnt-* cli
While testing some other stuff, I realised that the gnt-* commands could be broken (as in, the script fails with syntax errors), but make check doesn't detect it. Since we have shelltest, we can now add trivial tests for this case. One downside is that starting the scripts seems to be much slower than the htools binaries, so we can't add as many tests. The other downside is that shelltest is now required for all development work, but I think this is a small disadvantage compared to the increased testing possibilities. Signed-off-by:Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
Showing
- Makefile.am 8 additions, 2 deletionsMakefile.am
- htools/offline-test.sh 3 additions, 1 deletionhtools/offline-test.sh
- test/cli-test.bash 8 additions, 0 deletionstest/cli-test.bash
- test/ganeti-cli.test 36 additions, 0 deletionstest/ganeti-cli.test
- test/gnt-cli.test 72 additions, 0 deletionstest/gnt-cli.test
Loading
Please register or sign in to comment