aboutsummaryrefslogtreecommitdiff
path: root/version.h
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2021-01-18 16:53:26 +0100
committerLukasz Majewski <lukma@denx.de>2021-03-08 22:41:28 +0100
commita1565550075255370f8e6c88dc9c4ad3fd7281ab (patch)
treee9e1f2ce1d50cca15135faea0aa9a7f20fc7e33a /version.h
parent496e36f2251f28961ce269548b5f3adb6546ef01 (diff)
downloadglibc-a1565550075255370f8e6c88dc9c4ad3fd7281ab.tar
glibc-a1565550075255370f8e6c88dc9c4ad3fd7281ab.tar.gz
glibc-a1565550075255370f8e6c88dc9c4ad3fd7281ab.tar.bz2
glibc-a1565550075255370f8e6c88dc9c4ad3fd7281ab.zip
support: Provide xclock_settime test helper function
The xclock_settime is a wrapper function on the clock_settime syscall to be used in the test code. It checks if the GLIBC_TEST_ALLOW_TIME_SETTING env variable is defined in the environment in which test is executed. If it is not - the test ends as unsupported. Otherwise, the clock-settime is executed and return value is assessed. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'version.h')
0 files changed, 0 insertions, 0 deletions