Lines Matching refs:rt

38     int rt = RunElf(testELF, NULL, NULL);

39 EXPECT_EQ(rt, 0) << "fixed address elf test failed! exitcode=" << rt;
50 int rt = RunElf(testELF, NULL, NULL);
51 EXPECT_EQ(rt, 0) << "static link elf test failed! exitcode=" << rt;
70 int rt = chmod(testELF2, 0777);
71 if (rt) {
73 LOG("chmod '%s' failed: rt=%d, errno=%d", testELF2, rt, errno);
75 rt = chmod(testELF3, 0777);
76 if (rt) {
77 LOG("chmod '%s' failed: rt=%d, errno=%d", testELF3, rt, errno);
84 rt = RunElf(testELF1, NULL, NULL);
85 EXPECT_EQ(rt, 0) << "execve absolute path elf failed! exitcode=" << rt;
87 rt = RunElf("./executor3", NULL, NULL);
88 EXPECT_EQ(rt, 0) << "execve relative-path1 elf failed! exitcode=" << rt;
89 rt = RunElf("../data/executor3", NULL, NULL);
90 EXPECT_EQ(rt, 0) << "execve relative-path2 elf failed! exitcode=" << rt;
92 rt = RunElf("../executor2", NULL, NULL);
93 EXPECT_EQ(rt, 0) << "execve upper-path-file failed! exitcode=" << rt;
95 rt = StartExecveError("./executorNoExist", NULL, NULL);
96 EXPECT_EQ(rt, ENOENT) << "execve non-exist-elf errno failed! errno=" << rt;
112 int rt;
116 rt = RunElf(resELF, arg, NULL);
117 EXPECT_FALSE(rt) << "execve elf with normal argv parameter failed !";
121 rt = RunElf(resELF, arg2, NULL);
122 EXPECT_FALSE(rt) << "execve elf with normal argv parameter failed !";
126 rt = RunElf(resELF, arg3, NULL);
127 EXPECT_FALSE(rt) << "execve elf with normal argv parameter failed !";
137 int rt;
141 rt = RunElf(resELF, NULL, arg);
142 EXPECT_FALSE(rt) << "execve elf with normal envp parameter failed !";
146 rt = RunElf(resELF, NULL, arg2);
147 EXPECT_FALSE(rt) << "execve elf with normal envp parameter failed !";
151 rt = RunElf(resELF, NULL, arg3);
152 EXPECT_FALSE(rt) << "execve elf with normal envp parameter failed !";