Revert "Add Os.capset test."

This reverts commit f5c6e8194f134e370fee64d38d40d7523a147e83.

Reason for revert: fails on host

Change-Id: Ie0590dbf0e784ac41e276e4fa764f5323502799c
diff --git a/luni/src/test/java/libcore/android/system/OsTest.java b/luni/src/test/java/libcore/android/system/OsTest.java
index 1d4225e..209f30b 100644
--- a/luni/src/test/java/libcore/android/system/OsTest.java
+++ b/luni/src/test/java/libcore/android/system/OsTest.java
@@ -22,8 +22,6 @@
 import android.system.Os;
 import android.system.OsConstants;
 import android.system.PacketSocketAddress;
-import android.system.StructCapUserData;
-import android.system.StructCapUserHeader;
 import android.system.StructCmsghdr;
 import android.system.StructMsghdr;
 import android.system.StructRlimit;
@@ -2308,19 +2306,6 @@
         Os.munmap(address, size);
     }
 
-    @Test
-    public void testCapset() throws Exception {
-        var header = new StructCapUserHeader(_LINUX_CAPABILITY_VERSION_3, /* pid= */0);
-        var existing = Os.capget(header);
-        var noCapabilities = new StructCapUserData(0, 0, 0);
-
-        try {
-            Os.capset(header, new StructCapUserData[] { noCapabilities, noCapabilities });
-        } finally {
-            Os.capset(header, existing);
-        }
-    }
-
     /*
      * Checks that all ways of accessing the environment are consistent by collecting:
      * osEnvironment      - The environment returned by Os.environ()