History log of /linux-master/tools/testing/selftests/timens/exec.c
Revision Date Author Comments
# 785c4e83 05-Mar-2020 YueHaibing <yuehaibing@huawei.com>

selftests/timens: Remove duplicated include <time.h>

Remove duplicated include.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>


# a750c747 11-Nov-2019 Andrei Vagin <avagin@gmail.com>

selftests/timens: Check for right timens offsets after fork and exec

Output on success:
1..1
ok 1 exec
# Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0

Output on failure:
1..1
not ok 1 36016 16
Bail out!

Output with lack of permissions:
1..1
not ok 1 # SKIP need to run as root

Output without support of time namespaces:
1..1
not ok 1 # SKIP Time namespaces are not supported

Co-developed-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20191112012724.250792-35-dima@arista.com