Skip to content

Commit e1d39bb

Browse files
davidozogyosefe
authored andcommitted
Fix shmem_test arguments in osh_basic_tc7.c (#38)
* Fix shmem_test arguments in osh_basic_tc7.c Signed-off-by: David M. Ozog <david.m.ozog@intel.com> * Simplify change to shmem_test in osh_basic_tc7.c Signed-off-by: David M. Ozog <david.m.ozog@intel.com>
1 parent 30ba10d commit e1d39bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

verifier/basic/osh_basic_tc7.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ int osh_basic_tc7(const TE_NODE *node, int argc, const char *argv[])
4444
int wait_time = 0;
4545
//wait for pe #1 to change my variable
4646
//and do some important work in the while
47-
while (shmem_int_test(&test_variable, 0, SHMEM_CMP_EQ) && wait_time < 5000000)
47+
while (shmem_int_test(&test_variable, SHMEM_CMP_EQ, 0) && wait_time < 5000000)
4848
{
4949
usleep(1000);
5050
wait_time += 1000;

0 commit comments

Comments
 (0)