Re: [LTP] [PATCH 05/05] Add the necessary Interface and Option through "runltp"

Mike Frysinger
2009-08-13T07:13:24Z

[-- Attachment #1.1: Type: text/plain, Size: 640 bytes --]

On Tuesday 11 August 2009 13:31:01 Subrata Modak wrote:
> + if [ $INJECT_KERNEL_FAULT -eq 1 ] ; then
> + #See if Debugfs is mounted, and
> + #Fault Injection Framework available through Debugfs
> + if [ -d "/debug/fail_io_timeout" -o \
> + -d "/debug/fail_make_request" -o \
> + -d "/debug/fail_page_alloc" -o \
> + -d "/debug/failslab" ]; then

debugfs should be mounted at /sys/kernel/debug/, not /debug/. if you really
want to support the latter (incorrect) location, then you should use a
variable that defaults to the correct location and falls back to the /debug/
dir if it is actually mounted there.
-mike

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 355 bytes --]

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]