Mercurial > crates > nonstick
view testharness/install-test-harness.sh @ 163:a75a66cb4181
Add end-to-end tests; fix issues found by tests.
- Create tests and installer/remover shell script
- Fix Pointer/pointee problems
- Add Debug formatting
- Misc cleanup
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Mon, 14 Jul 2025 17:40:11 -0400 |
parents | |
children | d0bba0117456 |
line wrap: on
line source
#!/bin/bash set -eo pipefail HERE="$(dirname -- "$0")" echo "$HERE" cargo build --release sudo mkdir -p /lib/security sudo cp ../target/release/libnonstick_testharness.so /lib/security/pam_testharness.so sudo cp nonstick_testharness.conf /etc/pam.d/nonstick-testharness trap 'sudo rm /etc/pam.d/nonstick-testharness; sudo rm /lib/security/pam_testharness.so' EXIT "$@" && echo "SUCCESS!!!" || echo "FAILURE: $?"