summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxclock/psxclock.scn
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-21 13:14:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-21 13:14:37 +0000
commitf343b668acc9289a0c04550b7fb12709ac8abc2d (patch)
treed69a86c5d349b661cf6caf2bd53beca76b1dfae5 /testsuites/psxtests/psxclock/psxclock.scn
parentAdd missing files. (diff)
downloadrtems-f343b668acc9289a0c04550b7fb12709ac8abc2d.tar.bz2
2009-09-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxclock/init.c, psxclock/psxclock.scn: Add test case for negative nanoseconds.
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psxclock/psxclock.scn3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxclock/psxclock.scn b/testsuites/psxtests/psxclock/psxclock.scn
index c5b3e1e062..1144faa726 100644
--- a/testsuites/psxtests/psxclock/psxclock.scn
+++ b/testsuites/psxtests/psxclock/psxclock.scn
@@ -20,7 +20,8 @@ Init: seconds remaining (0)
Init: nanosleep - EINVAL (NULL time)
Init: nanosleep - EINVAL (too many nanoseconds)
-Init: nanosleep - negative seconds small delay
+Init: nanosleep - negative seconds - EINVAL
+Init: nanosleep - negative nanoseconds - EINVAL
Init: nanosleep - delay so small results in one tick
Init: nanosleep - yield with remaining
Init: nanosleep - yield with NULL time remaining