summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions-sctp.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-09-11 21:26:32 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-09-11 21:26:32 -0400
commite328d06af7c5bc20e67a9b74fc5d3344d640b127 (patch)
tree305b1d943780562f975a9a718b42ecb62890d6c7 /pts-core/functions/pts-functions-sctp.php
parent582865f16543f83c98e6ceefba581309f1ca20d9 (diff)
downloadphoronix-test-suite-upstream-e328d06af7c5bc20e67a9b74fc5d3344d640b127.tar.gz
phoronix-test-suite-upstream-e328d06af7c5bc20e67a9b74fc5d3344d640b127.tar.xz
phoronix-test-suite-upstream-e328d06af7c5bc20e67a9b74fc5d3344d640b127.zip
pts-core: When a test is over, cleanup the Self-Contained Test Profiles
shim that was automatically generated.
Diffstat (limited to 'pts-core/functions/pts-functions-sctp.php')
-rw-r--r--pts-core/functions/pts-functions-sctp.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions-sctp.php b/pts-core/functions/pts-functions-sctp.php
index 0c39b04..3f8cc5b 100644
--- a/pts-core/functions/pts-functions-sctp.php
+++ b/pts-core/functions/pts-functions-sctp.php
@@ -25,6 +25,10 @@ function sctp_test_directory()
{
return PTS_TEMP_DIR . "sctp/" . basename(SCTP_FILE) . "/";
}
+function remote_sctp_test_files()
+{
+ shell_exec("rm -rf " . sctp_test_directory() . " 2>&1");
+}
function generate_sctp_layer()
{
$xml_parser = new tandem_XmlReader(SCTP_FILE);