[Hotplug_sig] Re: [lhcs-devel] Automated Hotplug CPU Regression Test Cases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 15, 2005 at 03:09:00PM -0600, Nathan Lynch wrote:
> > > 5) offlining the last running cpu in the system :)
> > 
> > Just because I'm mostly ignorant, what's the correct behavior?  For
> > example, the atttriute to offline goes away, is not changeable, etc.
> > Easy to test definitely.  :)
> 
> The write to /sys/devices/system/cpu/cpuX/online should return EBUSY.

Hi Nathan,

I just got around to trying this and I figure I'm doing it wrong.
Capturing the return ($?) from echo is either a 0 or 1, which makes
sense, so I figure I'm not capturing the correct thing to see if EBUSY
is returned.  How do I do that?

Thanks,
Mark

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux