Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.69 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.69 KB

Testing information

--> This page is under development <--

Here are located information about testing, how to test st2se and how to get testsuite.

Sources of binaries used in testing

Used sources are from official project pages and repositories.

Package Target binary Sources
coreutils cp source
findutils find source
usbguard usbguard source
testovac testovac source

./setEnv.sh

./setEnv.sh is a script which will setup environment for testing. It is simple bash script controlled with subcommands. You should use subcommands in this order:

Architecture of ./setEnv.sh

Script subcommands

  • $ ./setEnv help - print this help
  • $ ./setEnv prep - downloads, extracts and configures sources
  • $ ./setEnv applyPolicy - generates strace, runs st2se, patch sources NOT WORKING: You must do it manualy.
  • $ ./setEnv make - make binaries
  • $ ./setEnv test - run tests
  • $ ./setEnv clean - removes downloaded packages and temporary files
  • $ ./setEnv revertPatches - revert previously applied patches
  • $ ./setEnv straceON - turn on strace logging
  • $ ./setEnv straceOFF - turn off strace logging