mirror of
https://github.com/safing/portmaster
synced 2025-04-23 04:19:10 +00:00
24 lines
476 B
Bash
Executable file
24 lines
476 B
Bash
Executable file
#!/bin/sh
|
|
|
|
echo Generate test files
|
|
echo ========================
|
|
cd protocol
|
|
cargo test info::generate_test_info_file
|
|
|
|
cd ../kext_interface
|
|
go test -v -run TestGenerateCommandFile
|
|
|
|
cd ..
|
|
echo ========================
|
|
echo Running tests
|
|
echo ========================
|
|
cd protocol
|
|
cargo test command::test_go_command_file
|
|
|
|
cd ../kext_interface
|
|
go test -v -run TestRustInfoFile
|
|
|
|
echo ========================
|
|
echo Cleanup
|
|
rm go_command_test.bin
|
|
rm ../protocol/rust_info_test.bin
|