[PATCH] add TOPO regression test.

This commit is contained in:
greg@kroah.com 2003-11-12 18:08:40 -08:00 committed by Greg KH
parent 8c51bbfe5f
commit a38c862f88
2 changed files with 23 additions and 0 deletions

20
test/topo_test Normal file
View 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
View File

@ -0,0 +1,3 @@
# TOPO test
TOPOLOGY, BUS="scsi", place="0:0:0:0", NAME="first_disk"