Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes autetests saving temporary files to working directory #260

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions autotest/units/001_one_port/059_rib/autotest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1806,7 +1806,7 @@ steps:

# rib_save()
- cli:
dontdoit podumoi controlplane rib save > rib_saved.dmp
dontdoit podumoi controlplane rib save > /tmp/rib_saved.dmp

## remove ALL prefixes, we will load rib tables from rib_saved.dmp
- rib_clear:
Expand All @@ -1824,10 +1824,10 @@ steps:
vrf priority prefix protocol peer table_name path_information nexthop labels local_preference aspath origin med communities large_communities
------- -------- --------- -------- ---- ---------- ---------------- ------- ------ ---------------- ------ ------ --- ----------- -----------------
default 10000 fe80::/64 static :: :: 0 0 n/s n/s

# rib_load()
- cli:
dontdoit podumoi controlplane rib load < rib_saved.dmp
dontdoit podumoi controlplane rib load < /tmp/rib_saved.dmp

# loaded tables are the same as those we had saved
- cli_check: |
Expand Down Expand Up @@ -1962,7 +1962,7 @@ steps:

# rib_save()
- cli:
dontdoit podumoi controlplane rib save > rib_saved.dmp
dontdoit podumoi controlplane rib save > /tmp/rib_saved.dmp

## remove ALL prefixes
- rib_clear:
Expand Down Expand Up @@ -2068,7 +2068,7 @@ steps:

# rib_load()
- cli:
dontdoit podumoi controlplane rib load < rib_saved.dmp
dontdoit podumoi controlplane rib load < /tmp/rib_saved.dmp

# loaded tables are the same as those we had saved
- cli_check: |
Expand Down
Loading