commit | f5aee94f1544cf10d9aa7411e680d2d63b1f5d54 | [log] [tgz] |
---|---|---|
author | Weiwei Liu <summerwing10@gmail.com> | Sat Mar 19 07:00:42 2016 +0000 |
committer | Weiwei Liu <summerwing10@gmail.com> | Tue May 31 11:44:00 2016 -0700 |
tree | 5c47cd902d2dfcba90ebb73a0ca8ef867da864dd | |
parent | 28797798044d0b80c8b883a821645632db9552e5 [diff] [blame] |
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; } '''):