| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | LOGDIR="${AUTOPKGTEST_ARTIFACTS:-/tmp}" |
| 6 | TEST="$1" |
| 7 | LOGPATH="${LOGDIR}/${TEST}.log" |
| 8 | |
| 9 | /usr/lib/cryfs/$TEST-test --gtest_filter=-HomedirTest.HomedirExist:SubprocessTest.*:BacktraceTest.*:CliTest_Setup.*:CliTest_IntegrityCheck.*:*CliTest_WrongEnvironment*:*WorksWithCommas*:CliTest_Unmount.*:CacheTest_RaceCondition.* 2>&1 | tee ${LOGPATH} |
| 10 | |
| 11 | if grep -q FAIL ${LOGPATH}; then |
| 12 | exit -1 |
| 13 | fi |