dmatest: return actual state in 'run' file