Commit | Line | Data |
---|---|---|
1d20c959 DG |
1 | #!/bin/bash |
2 | # | |
9d16b343 | 3 | # Copyright (C) 2013 Julien Desfossez <jdesfossez@efficios.com> |
1d20c959 | 4 | # |
9d16b343 | 5 | # SPDX-License-Identifier: LGPL-2.1-only |
1d20c959 DG |
6 | |
7 | CURDIR=$(dirname $0)/ | |
8 | NR_SNAPSHOT=10 | |
9 | TESTDIR=$CURDIR/../../.. | |
10 | TEST_BIN="ust_test" | |
11 | ||
12 | source $TESTDIR/utils/utils.sh | |
13 | ||
14 | if [ ! -x "$CURDIR/$TEST_BIN" ]; then | |
15 | BAIL_OUT "No UST test found: $TEST_BIN" | |
16 | fi | |
17 | ||
18 | ./$CURDIR/$TEST_BIN $NR_SNAPSHOT |