tests: fix running with non-root user

Refs: #3418

Change-Id: If7f5c05baaff0cf748c87c77057517928539df0d
diff --git a/wscript b/wscript
index d169a5a..f174342 100644
--- a/wscript
+++ b/wscript
@@ -97,6 +97,9 @@
   int ret = setegid(grp.gr_gid);
   ret = seteuid(pwd.pw_uid);
   (void)(ret);
+
+  getegid();
+  geteuid();
   return 0;
 }
 '''):