scstadmin tests: Remove temporary files after tests 05 and 06 have finished

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7324 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-01-04 18:00:48 +00:00
parent 3ef72409bd
commit e02fb4b9ad
2 changed files with 2 additions and 0 deletions
@@ -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);
}