summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/lit_tests
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-12-23 07:32:23 +0000
committerKostya Serebryany <kcc@google.com>2013-12-23 07:32:23 +0000
commit6f69c73db18a01c06393bb08eb65eb2a5113c782 (patch)
tree44747e3bf04cd169fee483c69001d66c28f4f056 /compiler-rt/lib/asan/lit_tests
parentb88b25feec83a945083c8a9d7eb9f4207ef08195 (diff)
downloadbcm5719-llvm-6f69c73db18a01c06393bb08eb65eb2a5113c782.tar.gz
bcm5719-llvm-6f69c73db18a01c06393bb08eb65eb2a5113c782.zip
[asan] clean up at the end of the shmget/shmctl test
llvm-svn: 197901
Diffstat (limited to 'compiler-rt/lib/asan/lit_tests')
-rw-r--r--compiler-rt/lib/asan/lit_tests/TestCases/Linux/shmctl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/lit_tests/TestCases/Linux/shmctl.cc b/compiler-rt/lib/asan/lit_tests/TestCases/Linux/shmctl.cc
index 9638cedecb2..2de14776c92 100644
--- a/compiler-rt/lib/asan/lit_tests/TestCases/Linux/shmctl.cc
+++ b/compiler-rt/lib/asan/lit_tests/TestCases/Linux/shmctl.cc
@@ -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));
}
OpenPOWER on IntegriCloud