summaryrefslogtreecommitdiff
path: root/test/udevd_test.sh
blob: 013cdb9d6cf4b1900ed4be25e3a513004284bc44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash

# reset udevd, expected sequence number and empty queue
killall -HUP udevd

export ACTION=add
export DEVPATH=/block/sda

export SEQNUM=1
./udevsend block

export SEQNUM=2
./udevsend block

export SEQNUM=3
./udevsend block

export SEQNUM=5
./udevsend block

export SEQNUM=4
./udevsend block

export SEQNUM=6
./udevsend block

export SEQNUM=7
./udevsend block

export SEQNUM=10
./udevsend block

export SEQNUM=9
#./udevsend block

export SEQNUM=8
#./udevsend block

export SEQNUM=13
./udevsend block

export SEQNUM=12
./udevsend block

export SEQNUM=11
./udevsend block