File: README.md

package info (click to toggle)
pgaudit-17 17.1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 332 kB
  • sloc: ansic: 1,358; sql: 1,174; makefile: 25; sh: 6
file content (14 lines) | stat: -rw-r--r-- 413 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Testing

Testing is performed using a Docker container. First build the container:
```
docker build --build-arg UID=$(id -u) --build-arg GID=$(id -g) -f test/Dockerfile.debian -t pgaudit-test .
```
or
```
docker build --build-arg UID=$(id -u) --build-arg GID=$(id -g) -f test/Dockerfile.rhel -t pgaudit-test .
```
Then run the test:
```
docker run --rm -v $(pwd):/pgaudit pgaudit-test /pgaudit/test/test.sh
```