File: upstream-tests

package info (click to toggle)
genimage 19-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 988 kB
  • sloc: ansic: 5,606; sh: 1,132; makefile: 194
file content (21 lines) | stat: -rwxr-xr-x 367 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

set -efu

if [ -z "$AUTOPKGTEST_TMP" ]; then
    AUTOPKGTEST_TMP=tmp
    mkdir -p ${AUTOPKGTEST_TMP}
fi

SRCDIR=$(pwd)

cp -rv ${SRCDIR}/test ${AUTOPKGTEST_TMP}
cd ${AUTOPKGTEST_TMP}

sed -i 's/$(pwd)\/genimage/genimage/' test/test-setup.sh
./test/ext.test
./test/filesystem.test
./test/flash.test
./test/genimage.test
./test/hdimage.test
./test/misc.test