Commit Graph

6 Commits

Author SHA1 Message Date
Chris Evich 7da546b5a7 Execute tests serially
The version of bats (1.1.0) pre-installed in VM images does not support
the --jobs option.  Further, executing bats tests in parallel is
discouraged from a reliability and consistency perspective.

Signed-off-by: Chris Evich <cevich@redhat.com>
2020-09-17 13:13:49 -04:00
Daniel J Walsh c93f642c7e Fix problems found by codespell
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-11 10:49:59 -04:00
Sascha Grunert f2c4a6eae2 Use `bash` binary from env instead of /bin/bash for scripts
It's not possible to run any of the scripts on distributions which do
have `bash` not in `/bin`. This is being fixed by using `/usr/bin/env
bash` instead.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-17 11:23:44 +02:00
Chris Evich 7bec861cee Fix Ubuntu testing and get_ci_vm.sh
For some unknown reason, running BATS on any version of Ubuntu VM using
the parallel `--jobs`` argument will execute tests properly but only
produce errors like `...stdout: No such file or directory`.  When
operating on an Ubuntu VM, override `$JOBS` with `1` as a workaround.

Also, fix `get_ci_vm.sh` to properly parse env. vars. out of
`.cirrus.yml` while properly substituting embedded variable values.
This makes it properly print out image name hints, and properly set
variables during execution.

Signed-off-by: Chris Evich <cevich@redhat.com>
2020-05-06 15:48:48 -04:00
Sascha Grunert de32c03268 Run bats jobs in parallel
We now run the bats jobs in parallel to have a faster test output.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-04-01 10:56:13 +02:00
Nalin Dahyabhai afeac9ed27 Add some integration tests
Try to exercise the CLI wrapper as much as we can.  It's not exhaustive,
but it's a start.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-10-04 15:14:57 -04:00