This test currently expects omp_get_thread_num() to return 1 and 2, effectively requiring three threads. 2-core machines only seem to spawn two threads, preventing omp_get_thread_num() from returning 2. This patch changes the expected thread numbers to 0 and 1 so that it passes on 2-core machines.
This fixes the last issue in the x86_64-linux-gnu-debian8 build of the 3.8.0 release.