diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-09-11 21:26:32 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-09-11 21:26:32 -0400 |
commit | e328d06af7c5bc20e67a9b74fc5d3344d640b127 (patch) | |
tree | 305b1d943780562f975a9a718b42ecb62890d6c7 /pts-core/functions/pts-functions-sctp.php | |
parent | 582865f16543f83c98e6ceefba581309f1ca20d9 (diff) | |
download | phoronix-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.php | 4 |
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); |