chiark / gitweb /
[PATCH] spilt udev into pieces
[elogind.git] / test / udevd_test.sh
1 #!/bin/bash
2
3 # reset udevd, expected sequence number and empty queue
4 killall -HUP udevd
5
6 export ACTION=add
7 export DEVPATH=/block/sda
8
9 export SEQNUM=1
10 ./udevsend block
11
12 export SEQNUM=2
13 ./udevsend block
14
15 export SEQNUM=3
16 ./udevsend block
17
18 export SEQNUM=5
19 ./udevsend block
20
21 export SEQNUM=4
22 ./udevsend block
23
24 export SEQNUM=6
25 ./udevsend block
26
27 export SEQNUM=7
28 ./udevsend block
29
30 export SEQNUM=10
31 ./udevsend block
32
33 export SEQNUM=9
34 #./udevsend block
35
36 export SEQNUM=8
37 #./udevsend block
38
39 export SEQNUM=13
40 ./udevsend block
41
42 export SEQNUM=12
43 ./udevsend block
44
45 export SEQNUM=11
46 ./udevsend block
47