File: udev

package info (click to toggle)
systemd 232-25+deb9u11
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 46,164 kB
  • sloc: ansic: 290,592; xml: 49,217; makefile: 5,503; sh: 4,031; python: 2,596; perl: 1,838
file content (17 lines) | stat: -rwxr-xr-x 435 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# autopkgtest check: Run upstream udev test script
# (C) 2016 Canonical Ltd.
# Author: Martin Pitt <martin.pitt@ubuntu.com>
set -euC

TEST_DIR=${ADTTMP:=$(mktemp -d)}
mkdir -p $TEST_DIR/test
if [ -x test/sys-script.py ]; then
    test/sys-script.py $TEST_DIR/test
else
    tar -C $TEST_DIR/test -xf test/sys.tar.xz
fi
cp test/udev-test.pl $TEST_DIR
cp /usr/lib/*/systemd-tests/test-udev $TEST_DIR
cd $TEST_DIR
./udev-test.pl