Skip to content

Commit

Permalink
Test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
hknutzen committed Aug 7, 2023
1 parent acf1ef6 commit 8360b0e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions go/testdata/options.t
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,24 @@ Error: Can't open out/r1.info: permission denied
Aborted
=END=
############################################################
=TITLE=Can't write .config file of pass1
=SETUP=
mkdir -p out/.prev
mkdir out/r1.config
=INPUT=
network:n1 = { ip = 10.1.1.0/24; }
router:r1 = {
managed;
model = ASA;
interface:n1 = { ip = 10.1.1.1; hardware = n1; }
}
=WITH_OUTDIR=
=ERROR=
Error: Can't open out/r1.config: is a directory
Aborted
=END=
############################################################
=TITLE=Can't write code file
=SETUP=
Expand Down

0 comments on commit 8360b0e

Please sign in to comment.