Note: The programs here are only for testing purposes only. They are
intended for use by quality assurance and requires a dedicated testing
environment.

Do not run the programs here on a production system!


Prerequisites:

- standard snapper configuration (one config "root" for "/")

- at least one snapshot



You can run any test program individually:

```bash
MCPSERVER=/usr/bin/mcp-server-snapper ./list-configs/list-configs
```

Or run all tests in the test suite using a loop:

```bash
for test in \
    create-snapshot-1/create-snapshot-1 \
    create-snapshot-2/create-snapshot-2 \
    create-snapshot-3/create-snapshot-3 \
    get-config/get-config \
    list-configs/list-configs \
    list-snapshots/list-snapshots \
    rollback/rollback \
    tools/tools \
; do
    echo "Running $test..."
    MCPSERVER=/usr/bin/mcp-server-snapper "./$test" || { echo "Test $test failed!" ; exit 1; }
done
echo "All tests passed!"
```
