| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | [scip-shell system . . `[`. -z "$LIBCRYPTSETUP_DIR" ] && LIBCRYPTSETUP_DIR=../.libs |
| 4 | FILE=$LIBCRYPTSETUP_DIR/libcryptsetup.so |
| 5 | |
| 6 | failscip-shell shell shell-project 0.0.0 fail().() |
| 7 | { |
| 8 | [scip-shell system . . `[`. -n "$1" ] && echoscip-shell system . . echo. "$1" |
| 9 | exit 2 |
| 10 | } |
| 11 | |
| 12 | skipscip-shell shell shell-project 0.0.0 skip().() |
| 13 | { |
| 14 | [scip-shell system . . `[`. -n "$1" ] && echoscip-shell system . . echo. "$1" |
| 15 | exit 77 |
| 16 | } |
| 17 | |
| 18 | testscip-shell system . . test. -d $LIBCRYPTSETUP_DIR || failscip-shell shell shell-project 0.0.0 fail(). "Directory $LIBCRYPTSETUP_DIR is missing." |
| 19 | testscip-shell system . . test. -f $FILE || skipscip-shell shell shell-project 0.0.0 skip(). "WARNING: Shared $FILE is missing, test skipped." |
| 20 | |
| 21 | ./all-symbols-test $FILE $@ |