Relative Content

Tag Archive for bashdockerubuntumakefile

Writing output of a command to a file hangs

I’m working on writing unit tests, and the executable runs as expected when run as ./out/unit_test_c. When I run ./out/unit_test_c > out/results.txt it hangs indefinitely. The expected execution time is ~1 sec since were just starting to write tests, but it can hang for hours. The results do need to be saved in some sort of file to be parsed later and turned into test result reports.