Esempio n. 1
0
        public void ConnectRemoteHost()
        {
            RemoteHost remote = InitRemoteHost();

            remote.PrepareForConnection();
            remote.Execute("echo -n 1", out String result);
            Assert.AreEqual("1", result);
        }
Esempio n. 2
0
        public void PrintGCCIncludeDirectoriesCppAtOnce()
        {
            RemoteHost remote = InitRemoteHost();

            remote.PrepareForConnection();
            int rv = remote.Execute("touch /tmp/VCXProjWriterUT.c && g++ -c -Wp,-v /tmp/VCXProjWriterUT.c", out String _);

            Assert.AreEqual(0, rv);
        }
Esempio n. 3
0
        public void PrintGCCIncludeDirectoriesAtOnce()
        {
            RemoteHost remote = InitRemoteHost();

            remote.PrepareForConnection();
            int rv = remote.Execute("gcc -E -Wp,-v - < /dev/null", out String _);

            Assert.AreEqual(0, rv);
        }
Esempio n. 4
0
        public void PrintGCCPredefinedMacrosAtOnce()
        {
            RemoteHost remote = InitRemoteHost();

            remote.PrepareForConnection();
            int rv = remote.Execute("gcc -E -dM - < /dev/null", out String _);

            Assert.AreEqual(0, rv);
        }