summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-06-21 10:36:54 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-06-21 10:36:54 +0000
commitd0800012011eeb07c855b44bafad806b9ff3bd32 (patch)
tree514eccdd94b3c95bed021180d437a2a997cd4acd
parentbb3e33b4ed9fe3e19c419c5b67cc96c1ce50d5b2 (diff)
parent676880b973daa4f0b214b51596e138a3702e5f17 (diff)
downloadextras-d0800012011eeb07c855b44bafad806b9ff3bd32.tar.gz
am 676880b9: am 0795553f: Merge "Remove a useless so-called test for arc4random."
* commit '676880b973daa4f0b214b51596e138a3702e5f17': Remove a useless so-called test for arc4random.
-rw-r--r--tests/bionic/libc/Android.mk1
-rw-r--r--tests/bionic/libc/other/test_arc4random.c40
2 files changed, 0 insertions, 41 deletions
diff --git a/tests/bionic/libc/Android.mk b/tests/bionic/libc/Android.mk
index a29b7925..1e64591d 100644
--- a/tests/bionic/libc/Android.mk
+++ b/tests/bionic/libc/Android.mk
@@ -138,7 +138,6 @@ $(call device-test, $(sources))
# Third, the other tests
sources := \
- other/test_arc4random.c \
other/test_sysconf.c \
other/test_vfprintf_leak.c \
diff --git a/tests/bionic/libc/other/test_arc4random.c b/tests/bionic/libc/other/test_arc4random.c
deleted file mode 100644
index 4829a2d6..00000000
--- a/tests/bionic/libc/other/test_arc4random.c
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2008 The Android Open Source Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-#include <stdio.h>
-
-int main(int argc, char *argv[])
-{
- unsigned int arc4random();
-
- int i;
-
- for (i = 0; i < 50; i++) {
- printf("%u\n", arc4random());
- }
- return 0;
-}