diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-12-26 10:41:49 -0500 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-12-26 10:41:49 -0500 |
commit | 91ef3e8ec172cc2154fa59c25e227ec1958d79ec (patch) | |
tree | 52af8fe768498b4fb77022cf1fb95c1a34067e0a /pts-core/options/remove_installed_test.php | |
parent | 0a120772bd4f503d59af2018d7402b412e6138aa (diff) | |
download | phoronix-test-suite-upstream-91ef3e8ec172cc2154fa59c25e227ec1958d79ec.tar.gz phoronix-test-suite-upstream-91ef3e8ec172cc2154fa59c25e227ec1958d79ec.tar.xz phoronix-test-suite-upstream-91ef3e8ec172cc2154fa59c25e227ec1958d79ec.zip |
pts-core: Add pts_test_installed() boolean function
Diffstat (limited to 'pts-core/options/remove_installed_test.php')
-rw-r--r-- | pts-core/options/remove_installed_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/options/remove_installed_test.php b/pts-core/options/remove_installed_test.php index 8dfe8e0..3841b4e 100644 --- a/pts-core/options/remove_installed_test.php +++ b/pts-core/options/remove_installed_test.php @@ -25,7 +25,7 @@ class remove_installed_test implements pts_option_interface public static function run($r) { $identifier = $r[0]; - if(is_file(TEST_ENV_DIR . $identifier . "/pts-install.xml")) + if(pts_test_installed($identifier)) { if(pts_bool_question("Are you sure you wish to remove the test " . $identifier . " (y/N)?", false)) { |