mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 15:02:54 +00:00
slight beaker-tests/README.md tweaks
This commit is contained in:
parent
4e8b7531d7
commit
f0a8301003
1 changed files with 6 additions and 6 deletions
|
@ -7,21 +7,21 @@ The following command will setup your system, setup a Fedora virtual machine and
|
|||
# ./run.sh
|
||||
```
|
||||
|
||||
The setup part for host system modifications and creation of the virtual machine is done by `./setup.sh` script that is invoked from `run.sh` and is the part that requires root privileges. Use `cat setup.sh` to see what the script does. You can choose not to run the script during `./run.sh` execution if you have run it before (either through `./run.sh` or `./setup.sh` directly). To do this, pass `-x` switch to `./run.sh`:
|
||||
The setup part for most of the host system modifications and creation of the virtual machine is done by `./setup.sh` script that is invoked from `run.sh` and is the part that requires root privileges. Use `cat setup.sh` to see what the script does. You can choose not to run the script during `./run.sh` execution if you have run it before (either through `./run.sh` or `./setup.sh` directly). To do this, pass `-x` switch to `./run.sh`:
|
||||
|
||||
```
|
||||
# ./run.sh -x
|
||||
```
|
||||
|
||||
To run the tests for CentOS7 (with epel7 repos enabled) instead of Fedora, you can use:
|
||||
To run the tests for CentOS-7 (with epel-7 repos enabled) instead of Fedora, you can use:
|
||||
|
||||
```
|
||||
# DISTGIT_FLAVOR=dist-git-centos-7 ./run.sh
|
||||
```
|
||||
|
||||
This will spawn a new CentOS7/opel7 virtual machine.
|
||||
This will spawn a new CentOS-7/opel-7 virtual machine.
|
||||
|
||||
To do the same for CentOS8 (with epel8 repos enabled), you can use:
|
||||
To do the same for CentOS-8 (with epel-8 repos enabled), you can use:
|
||||
|
||||
```
|
||||
# DISTGIT_FLAVOR=dist-git-centos-8 ./run.sh
|
||||
|
@ -29,7 +29,7 @@ To do the same for CentOS8 (with epel8 repos enabled), you can use:
|
|||
|
||||
Between each run, you need to remove `pkgs.example.org` record from `/root/.ssh/known_hosts` and you should also clean-up `/etc/hosts` from stale `pkgs.example.org` records.
|
||||
|
||||
Once the virtual machine you want to test exists and once it is correctly pointed to by `pkgs.example.org` ip record in `/etc/hosts`, you can again run just `./run.sh -x` to skip the `./setup.sh` invocation.
|
||||
Once the virtual machine, you want to test, exists and once it is correctly pointed to by `pkgs.example.org` IP record in `/etc/hosts`, you can again run just `./run.sh -x` to skip the `./setup.sh` invocation.
|
||||
|
||||
At this point, you can also run just a specific test by switching into `./tests/<testname>` subdirectory and invoking `./run.sh` there. Alternatively, you can pass `-r <testname>` together with `-x` switch to the master `./run.sh` script (the one next to this README):
|
||||
|
||||
|
@ -48,7 +48,7 @@ to switch to the Fedora virtual machine.
|
|||
Or
|
||||
|
||||
```
|
||||
# vagrant ssh dist-git-CentOS-8
|
||||
# vagrant ssh dist-git-centos-8
|
||||
```
|
||||
|
||||
to switch to CentOS-8/epel-8 virtual machine.
|
||||
|
|
Loading…
Add table
Reference in a new issue