Skip to content

Commit

Permalink
fix test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Jun 15, 2021
1 parent 8256a24 commit 192ec5e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/01-smoke/04-generate.robot
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ Verify nodes

*** Keywords ***
Cleanup
Run sudo containerlab destroy -t ${CURDIR}/${lab-name}.clab.yml --cleanup
${rc} ${output} = Run And Return Rc And Output
... sudo containerlab destroy -t ${lab-name}.clab.yml --cleanup
Log ${output}
Should Be Equal As Integers ${rc} 0
OperatingSystem.Remove File ${lab-name}.clab.yml

0 comments on commit 192ec5e

Please sign in to comment.