1 check that runqueue is producing expected results: 2 3 $ [ -n "$TEST_BIN_DIR" ] && export PATH="$TEST_BIN_DIR:$PATH" 4 $ valgrind --quiet --leak-check=full test-runqueue 5 [1/1] start 'sleep 1' (killer) 6 [1/1] killing process (killer) 7 [0/1] finish 'sleep 1' (killer) 8 [0/1] finish 'sleep 1' (killer) 9 [0/1] finish 'sleep 1' (killer) 10 [1/1] start 'sleep 1' (sleeper) 11 [1/1] cancel 'sleep 1' (sleeper) 12 [0/1] finish 'sleep 1' (sleeper) 13 [1/1] start 'sleep 1' (sleeper) 14 [1/1] cancel 'sleep 1' (sleeper) 15 [0/1] finish 'sleep 1' (sleeper) 16 [1/1] start 'sleep 1' (sleeper) 17 [1/1] cancel 'sleep 1' (sleeper) 18 [0/1] finish 'sleep 1' (sleeper) 19 All done! 20 21 $ test-runqueue-san 22 [1/1] start 'sleep 1' (killer) 23 [1/1] killing process (killer) 24 [0/1] finish 'sleep 1' (killer) 25 [0/1] finish 'sleep 1' (killer) 26 [0/1] finish 'sleep 1' (killer) 27 [1/1] start 'sleep 1' (sleeper) 28 [1/1] cancel 'sleep 1' (sleeper) 29 [0/1] finish 'sleep 1' (sleeper) 30 [1/1] start 'sleep 1' (sleeper) 31 [1/1] cancel 'sleep 1' (sleeper) 32 [0/1] finish 'sleep 1' (sleeper) 33 [1/1] start 'sleep 1' (sleeper) 34 [1/1] cancel 'sleep 1' (sleeper) 35 [0/1] finish 'sleep 1' (sleeper) 36 All done!
This page was automatically generated by LXR 0.3.1. • OpenWrt