mirror of
https://github.com/systemd/systemd.git
synced 2025-02-27 01:57:35 +03:00
[PATCH] add TOPO regression test.
This commit is contained in:
parent
8c51bbfe5f
commit
a38c862f88
20
test/topo_test
Normal file
20
test/topo_test
Normal file
@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
export UDEV_TEST=yes
|
||||
export SYSFS_PATH=$PWD/sys/
|
||||
export UDEV_CONFIG_DIR=$PWD/
|
||||
export UDEV_ROOT=$PWD/udev/
|
||||
export UDEV_DB=udev.tdb
|
||||
export UDEV_CONFIG_FILE=topo_test.config
|
||||
export UDEV_PERMISSION_FILE=udev.permissions
|
||||
|
||||
export ACTION=add
|
||||
export DEVPATH=block/sda
|
||||
|
||||
../udev block
|
||||
|
||||
export DEVPATH=block/sda/sda3
|
||||
|
||||
../udev block
|
||||
|
||||
|
3
test/topo_test.config
Normal file
3
test/topo_test.config
Normal file
@ -0,0 +1,3 @@
|
||||
# TOPO test
|
||||
TOPOLOGY, BUS="scsi", place="0:0:0:0", NAME="first_disk"
|
||||
|
Loading…
x
Reference in New Issue
Block a user