diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2014-05-19 21:11:55 -0400 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2014-05-19 21:11:55 -0400 |
commit | 1834e3c912412c99735a858a522ea7089a649588 (patch) | |
tree | 7f1187fc2363bca30694140d93a9143617d7eef8 /tests | |
parent | 5f2866d43d9a2e33bc2961edf9966cad5708cc4d (diff) |
FIX: Add S_IRUSR to open() for DFLP.
This patch adds S_IRUSR as the third parameter to open()
in the DFLP locking unit test.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/locks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/locks.c b/tests/locks.c index d7cfdee..6156532 100644 --- a/tests/locks.c +++ b/tests/locks.c | |||
@@ -115,7 +115,7 @@ TESTCASE(lock_dflp, P_FP, | |||
115 | { | 115 | { |
116 | int fd, od, cpu = 1; | 116 | int fd, od, cpu = 1; |
117 | 117 | ||
118 | SYSCALL( fd = open(".dflp_locks", O_RDONLY | O_CREAT) ); | 118 | SYSCALL( fd = open(".dflp_locks", O_RDONLY | O_CREAT, S_IRUSR) ); |
119 | 119 | ||
120 | SYSCALL( sporadic_partitioned(ms2ns(10), ms2ns(100), 0) ); | 120 | SYSCALL( sporadic_partitioned(ms2ns(10), ms2ns(100), 0) ); |
121 | SYSCALL( task_mode(LITMUS_RT_TASK) ); | 121 | SYSCALL( task_mode(LITMUS_RT_TASK) ); |