Index: src/tests/preempt_longrun/processor.c
===================================================================
--- src/tests/preempt_longrun/processor.c	(revision d2887f71a0aedeaa55a1fc313a79df5e3c6b8dcf)
+++ src/tests/preempt_longrun/processor.c	(revision b002261f85fbbab79c7747b91cd5c2880094e5f1)
@@ -16,6 +16,11 @@
 void main(worker_t & this) {}
 
+extern processor *   mainProcessor;
+extern thread_desc * mainThread;
+
 int main(int argc, char* argv[]) {
 	for(int i = 0; i < N; i++) {
+		assert(this_processor == mainProcessor);
+		assert(this_thread == mainThread);
 		processor p;
 	}
