• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1freeze_cancel.sh
2	This bash script tests freezer code by starting a long sleep process.
3	We initially try to freeze the cgroup but then try to cancel that.
4	After we cancel the sleep process should eventually reach the thawed
5	state. We expect the process to still be alive as we cleanup the test.
6
7freeze_kill_thaw.sh
8	This bash script tests freezer code by starting a long sleep process.
9	The sleep process is frozen. We then kill the sleep process.
10	Then we unfreeze the sleep process and see what happens. We expect the
11	sleep process to receive the kill signals and exit almost immediately
12	after the cgroup is thawed.
13
14freeze_move_thaw.sh
15	This bash script tests freezer code by starting a long sleep process.
16	The sleep process is frozen. We then move the sleep process to a THAWED
17	cgroup. We expect moving the sleep process to fail.
18
19freeze_self_thaw.sh
20	This bash script tests freezer code by starting a long subshell process.
21	The subshell process sleeps and then freezes the control group it is a
22	part of. We then thaw the subshell process. We expect the unthawed
23	subshell process to need cleanup afterwards (allows us to test
24	successfull thawing).
25
26freeze_sleep_thaw.sh
27	This bash script tests freezer code by starting a long sleep process.
28	The sleep process is frozen. We then wait until the sleep process should
29	have exited. Then we unfreeze the sleep process. We expect the
30	sleep process to wakeup almost immediately after the cgroup is thawed,
31	recognize that its expiration time has long since passed, and exit
32	before we get a chance to "see" it again.
33
34freeze_thaw.sh
35	This bash script tests freezer code by starting a long sleep process.
36	The sleep process is frozen. We then thaw the process before it exits.
37	We expect the process to still be alive as we cleanup the test.
38
39freeze_write_freezing.sh
40	Freeze the cgroup and then make sure that writing "FREEZING" into
41	freezer.state reports an error (EIO) and doesn't change the freezer's
42	state (which was "FROZEN").
43
44stop_freeze_sleep_thaw_cont.sh
45	This bash script tests freezer code by starting a long sleep process.
46	The sleep process is stopped and then frozen. We then thaw the process
47	after it normally would have exited.
48	We expect the process to still be around as we cleanup the test.
49
50stop_freeze_thaw_cont.sh
51	This bash script tests freezer code by starting a long sleep process.
52	The sleep process is stopped and then frozen. We then thaw the process
53	before it normally would have exited.
54	We expect the process to still be around as we cleanup the test.
55
56vfork_freeze.sh
57	This bash script tests freezer code by starting a process with vfork(2).
58	vfork causes the freezer to wait until the vfork call "returns" to the
59	parent. We need the vfork test binary -- ensure it's been built.
60
61write_freezing.sh
62	Try to write "FREEZING" into the freezer.state while freezer.state ==
63	"THAWED". This should result in an error (EIO) and should not change
64	the freezer state.
65
66fork_freeze.sh
67	A task within the cgroup to be frozen tries to fork.
68