diff options
author | chris_friesen@sympatico.ca <chris_friesen@sympatico.ca> | 2003-11-19 02:39:39 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:06:25 -0700 |
commit | 8e5d5925254ea60ce487ba8660d99c7a50481ea6 (patch) | |
tree | 6ecfbcb5d92c5402af4442c2667f36667f9b47b5 /test/test.tty | |
parent | 17f73597fe88d60da3d105907dc45f753be42912 (diff) |
[PATCH] faster test scripts
I've attached a patch against 005 for both the block and tty scripts. I
didn't bother running udev backgrounded, since as you say, the new code
runs a lot faster.
Diffstat (limited to 'test/test.tty')
-rw-r--r-- | test/test.tty | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.tty b/test/test.tty index d5e2d6715d..42f46a2e7c 100644 --- a/test/test.tty +++ b/test/test.tty @@ -15,6 +15,6 @@ BIN=./udev # location of your udev binary export ACTION=$1 # 'add' or 'remove' for i in ${SYSFSDIR}/class/tty/*; do - export DEVPATH="/"`echo $i | cut --delimiter='/' --fields=3-` + export DEVPATH=${i#${SYSFSDIR}} $BIN tty done |