[PATCH] regression tests starting to be added.

This commit is contained in:
greg@kroah.com 2003-10-22 01:14:59 -07:00 committed by Greg KH
parent 64455bfc69
commit 562e881016
50 changed files with 82 additions and 0 deletions

14
test/label_test Normal file
View File

@ -0,0 +1,14 @@
#!/bin/bash
export UDEV_TEST=yes
export UDEV_SYSFS_PATH=$PWD/sys/
export UDEV_CONFIG_DIR=$PWD/
export UDEV_ROOT=$PWD/udev/
export UDEV_DB=udev.tdb
export UDEV_CONFIG_FILE=label_test.config
export UDEV_PERMISSION_FILE=udev.permissions
export DEVPATH=block/sda
export ACTION=add
../udev block

3
test/label_test.config Normal file
View File

@ -0,0 +1,3 @@
# LABEL test
LABEL, BUS="scsi", vendor="IBM-ESXS", NAME="boot_disk"

1
test/sys/block/sda/dev Normal file
View File

@ -0,0 +1 @@
8:0

View File

@ -0,0 +1 @@
6

View File

@ -0,0 +1 @@
200

View File

@ -0,0 +1 @@
50

View File

@ -0,0 +1 @@
50

View File

@ -0,0 +1 @@
200

View File

@ -0,0 +1 @@
128

1
test/sys/block/sda/range Normal file
View File

@ -0,0 +1 @@
16

View File

@ -0,0 +1 @@
8:1

View File

@ -0,0 +1 @@
1060227

View File

@ -0,0 +1 @@
63

View File

@ -0,0 +1 @@
50 400 103 824

View File

@ -0,0 +1 @@
8:2

View File

@ -0,0 +1 @@
112455

View File

@ -0,0 +1 @@
1060290

View File

@ -0,0 +1 @@
342 500 15 30

View File

@ -0,0 +1 @@
8:3

View File

@ -0,0 +1 @@
20482875

View File

@ -0,0 +1 @@
1172745

View File

@ -0,0 +1 @@
415052 6872874 669740 5357920

View File

@ -0,0 +1 @@
8:4

View File

@ -0,0 +1 @@
49432005

View File

@ -0,0 +1 @@
21655620

View File

@ -0,0 +1 @@
642730 9095506 275223 2201728

1
test/sys/block/sda/size Normal file
View File

@ -0,0 +1 @@
71096640

1
test/sys/block/sda/stat Normal file
View File

@ -0,0 +1 @@
1043906 19157 16008400 4313104 317001 625161 7560502 48785829 0 3846686 53153390

View File

@ -0,0 +1 @@
0x010000

View File

@ -0,0 +1 @@
0x008f

View File

@ -0,0 +1 @@
ST336605LW !#

View File

@ -0,0 +1 @@
22

View File

@ -0,0 +1,7 @@
0x0000000000007400 0x00000000000074ff 0x0000000000000101
0x0000000080a11000 0x0000000080a11fff 0x0000000000000204
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000080a40000 0x0000000080a5ffff 0x0000000000007200

View File

@ -0,0 +1 @@
0x0205

View File

@ -0,0 +1 @@
0x1014

View File

@ -0,0 +1 @@
0x9005

View File

@ -0,0 +1 @@
0x060400

View File

@ -0,0 +1 @@
0x244e

View File

@ -0,0 +1 @@
0

View File

@ -0,0 +1,12 @@
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000

View File

@ -0,0 +1 @@
0x0000

View File

@ -0,0 +1 @@
0x0000

View File

@ -0,0 +1 @@
0x8086