1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
// Copyright 2015 Canonical Ltd.
// Copyright 2015 Cloudbase Solutions SRL
// Licensed under the LGPLv3, see LICENCE file for details.
package config_test
import "github.com/juju/utils/packaging"
var (
// testedSeriesUbuntu is simply the series to use in Ubuntu tests.
testedSeriesUbuntu = "precise"
// testedSeriesCentOS is simply the series we use in CentOS tests.
testedSeriesCentOS = "centos7"
// testedSeriesOpenSUSE is simply the series we use in OpenSUSE tests.
testedSeriesOpenSUSE = "opensuseleap"
// testedPackages is a slice of random package tests to run tests on.
testedPackages = []string{
"awesome-wm",
"archey3",
"arch-chroot",
"ranger",
}
testedSource = packaging.PackageSource{
Name: "Some Totally Official Source.",
URL: "some-source.com/packages",
Key: "some-key",
}
testedPrefs = packaging.PackagePreferences{
Path: "/etc/my-package-manager.d/prefs_file.conf",
Explanation: "don't judge me",
Package: "some-package",
Pin: "releases/extra-special",
Priority: 42,
}
)
|