From 4bf3c33f83e79951c3860297b6420e64032f04a7 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 14 Apr 2013 16:31:18 -0400 Subject: Rename the "parallel-sync" option to "output-sync". --- tests/scripts/features/output-sync | 133 ++++++++++++++++++++++++++++++++ tests/scripts/features/parallel-sync | 143 ----------------------------------- 2 files changed, 133 insertions(+), 143 deletions(-) create mode 100644 tests/scripts/features/output-sync delete mode 100644 tests/scripts/features/parallel-sync (limited to 'tests/scripts/features') diff --git a/tests/scripts/features/output-sync b/tests/scripts/features/output-sync new file mode 100644 index 0000000..66c0936 --- /dev/null +++ b/tests/scripts/features/output-sync @@ -0,0 +1,133 @@ +# -*-perl-*- + +$description = "Test --output-sync (-O) option."; + +$details = "Test the synchronization of output from parallel jobs."; + +if (!$parallel_jobs) { + return -1; +} + +if ($vos) { + $sleep_command = "sleep -seconds"; +} +else { + $sleep_command = "sleep"; +} + +# The following subdirectories with Makefiles are used in several +# of the following tests. +mkdir('foo', 0777); +mkdir('bar', 0777); + +open(MAKEFILE,"> foo/Makefile"); +print MAKEFILE < bar/Makefile"); +print MAKEFILE < foo/Makefile"); -print MAKEFILE < bar/Makefile"); -print MAKEFILE <