From: Andy Shevchenko Date: Mon, 4 Mar 2013 09:09:31 +0000 (+0200) Subject: dmatest: return actual state in 'run' file X-Git-Tag: v3.10-rc1~41^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e5ccd866fdf3a1e1d4d2c08c81f861ad6798d32;p=pandora-kernel.git dmatest: return actual state in 'run' file The following command should return actual state of the test. % cat /sys/kernel/debug/dmatest/run To wait for test done the user may perform a busy loop that checks the state. % while [ $(cat /sys/kernel/debug/dmatest/run) = "Y" ] > do > echo -n "." > sleep 1 > done > echo Signed-off-by: Andy Shevchenko Signed-off-by: Vinod Koul --- Reading git-diff-tree failed