Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

./autogen.sh 
./configure 
make 
make install 

To run the test: 

Overwrite the "libNodeStateMachine.so" with the test version: 
cp /usr/lib/libNodeStateMachine.so /usr/lib/libNodeStateMachine.so_org 
cp /usr/lib/libNodeStateMachineTest.so /usr/lib/libNodeStateMachine.so 

Create an own dbus instance: 
dbus-launch 

The command will print a DBUS_SESSION_BUS_ADDRESS. Copy/paste and  
export it as system bus: 
export DBUS_SYSTEM_BUS_ADDRESS=unix:path=... 

Start the NodeStateManager (in background) 
NodeStateManager & 

Run the test: 
NodeStateTest

See also

Node Startup Controller

Node Health Monitor