From 1834e3c912412c99735a858a522ea7089a649588 Mon Sep 17 00:00:00 2001 From: Glenn Elliott Date: Mon, 19 May 2014 21:11:55 -0400 Subject: 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. --- tests/locks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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, { int fd, od, cpu = 1; - SYSCALL( fd = open(".dflp_locks", O_RDONLY | O_CREAT) ); + SYSCALL( fd = open(".dflp_locks", O_RDONLY | O_CREAT, S_IRUSR) ); SYSCALL( sporadic_partitioned(ms2ns(10), ms2ns(100), 0) ); SYSCALL( task_mode(LITMUS_RT_TASK) ); -- cgit v1.2.2