mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
Acked-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Adrian Reber <areber@redhat.com>
26 lines
450 B
C
26 lines
450 B
C
#include <errno.h>
|
|
#include <unistd.h>
|
|
#include <sys/mount.h>
|
|
|
|
#include "zdtmtst.h"
|
|
|
|
const char *test_doc = "Check that clean mntns works";
|
|
const char *test_author = "Pavel Emelianov <xemul@parallels.com>";
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
test_init(argc, argv);
|
|
|
|
if (umount("/proc") < 0)
|
|
pr_perror("Can't umount proc");
|
|
|
|
if (umount("/dev/pts") < 0)
|
|
pr_perror("Can't umount devpts");
|
|
|
|
test_daemon();
|
|
test_waitsig();
|
|
|
|
pass();
|
|
return 0;
|
|
}
|