mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 12:41:26 +00:00
scstadmin tests: Remove temporary files after tests 05 and 06 have finished
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7578 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -52,6 +52,7 @@ sub testRestoreConfig {
|
||||
my $compare_result = system("diff -u $tmpfilename2 $expected >$diff");
|
||||
ok($compare_result, 0);
|
||||
if ($compare_result == 0) {
|
||||
unlink($diff);
|
||||
unlink($tmpfilename2);
|
||||
unlink($tmpfilename1);
|
||||
}
|
||||
|
||||
@@ -73,6 +73,7 @@ sub attributeTest {
|
||||
my $compare_result = system("diff -u $tmpfilename2 $expected >$diff");
|
||||
ok($compare_result, 0);
|
||||
if ($compare_result == 0) {
|
||||
unlink($diff);
|
||||
unlink($tmpfilename2);
|
||||
unlink($tmpfilename1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user