summaryrefslogtreecommitdiffstats
path: root/pts-core/functions
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-12-05 18:47:38 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-12-05 18:47:38 -0500
commit6682b0880c9c5f25e81f5e9670a010a14cfe1f68 (patch)
tree8ee744827574411be388a4c5a52f5f9a70573257 /pts-core/functions
parent05eed2c85cc0d875bedf915b0cf238477a0c9400 (diff)
downloadphoronix-test-suite-upstream-6682b0880c9c5f25e81f5e9670a010a14cfe1f68.tar.gz
phoronix-test-suite-upstream-6682b0880c9c5f25e81f5e9670a010a14cfe1f68.tar.xz
phoronix-test-suite-upstream-6682b0880c9c5f25e81f5e9670a010a14cfe1f68.zip
pts-core: Various fixes to the rewritten run_test
Diffstat (limited to 'pts-core/functions')
-rw-r--r--pts-core/functions/pts-functions-run.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions-run.php b/pts-core/functions/pts-functions-run.php
index b6cb116..685cafa 100644
--- a/pts-core/functions/pts-functions-run.php
+++ b/pts-core/functions/pts-functions-run.php
@@ -333,6 +333,10 @@ function pts_prompt_save_file_name($check_env = true, $to_run)
echo "\n\nThe name of the saved file cannot be the same as a test/suite: " . $PROPOSED_FILE_NAME . "\n";
$is_reserved_word = false;
}
+ else if(!pts_validate_save_file_name($PROPOSED_FILE_NAME, $to_run))
+ {
+ echo "\n\n" . $PROPOSED_FILE_NAME . " is associated with a different test/suite.\n";
+ }
echo "Enter a name to save these results: ";
$PROPOSED_FILE_NAME = trim(fgets(STDIN));