[compiler-rt] r197901 - [asan] clean up at the end of the shmget/shmctl test
Kostya Serebryany
kcc at google.com
Sun Dec 22 23:32:23 PST 2013
Author: kcc
Date: Mon Dec 23 01:32:23 2013
New Revision: 197901
URL: http://llvm.org/viewvc/llvm-project?rev=197901&view=rev
Log:
[asan] clean up at the end of the shmget/shmctl test
Modified:
compiler-rt/trunk/lib/asan/lit_tests/TestCases/Linux/shmctl.cc
Modified: compiler-rt/trunk/lib/asan/lit_tests/TestCases/Linux/shmctl.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/lit_tests/TestCases/Linux/shmctl.cc?rev=197901&r1=197900&r2=197901&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/lit_tests/TestCases/Linux/shmctl.cc (original)
+++ compiler-rt/trunk/lib/asan/lit_tests/TestCases/Linux/shmctl.cc Mon Dec 23 01:32:23 2013
@@ -14,4 +14,5 @@ int main() {
assert(res > -1);
printf("shm_segsz: %zd\n", ds.shm_segsz);
assert(ds.shm_segsz == 4096);
+ assert(-1 != shmctl(id, IPC_RMID, 0));
}
More information about the llvm-commits
mailing list