Skip to content

Commit

Permalink
Add the regression test missed previously
Browse files Browse the repository at this point in the history
  • Loading branch information
bapt committed Nov 23, 2015
1 parent b386a12 commit ba2ec6d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/frontend/config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env atf-sh

. $(atf_get_srcdir)/test_environment.sh
tests_init \
inline_repo

inline_repo_body() {
cat > pkgconfiguration << EOF
repositories: {
pkg1: { url = file:///tmp },
pkg2: { url = file:///tmp2 },
}
EOF
atf_check -o match:'^ url : "file:///tmp",$' \
-o match:'^ url : "file:///tmp2",$' \
pkg -o REPOS_DIR=/dev/null -C pkgconfiguration -vv
}

0 comments on commit ba2ec6d

Please sign in to comment.