| 51 | } |
| 52 | |
| 53 | TEST(Merge, pdalinfoTest_no_input) |
| 54 | { |
| 55 | const std::string cmd = appName() + " 2>&1"; |
| 56 | |
| 57 | std::string output; |
| 58 | EXPECT_EQ(Utils::run_shell_command(cmd, output), 1); |
| 59 | |
| 60 | const std::string expected = "PDAL: kernels.merge: Missing value for positional " |
| 61 | "argument 'files'."; |
| 62 | EXPECT_EQ(output.substr(0, expected.length()), expected); |
| 63 | } |
| 64 | |
| 65 | |
| 66 | TEST(Merge, Simple) |