forked from vmware/tdnf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug in upgrade and downgrade by version
Change-Id: I0c7c442e72bf5eec7e6cf28c2b09797c90929bac
- Loading branch information
ppadmavilasom
committed
May 20, 2016
1 parent
6924599
commit 4a8985d
Showing
15 changed files
with
265 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# | ||
# Copyright (C) 2015 VMware, Inc. All Rights Reserved. | ||
# | ||
# Licensed under the GNU Lesser General Public License v2.1 (the "License"); | ||
# you may not use this file except in compliance with the License. The terms | ||
# of the License are located in the COPYING file of this distribution. | ||
# | ||
|
||
AT_BANNER(tdnf downgrade tests) | ||
|
||
AT_SETUP([downgrade check]) | ||
AT_KEYWORDS([downgrade]) | ||
AT_CHECK([ | ||
TDNF_CHROOT_CLEAN | ||
TDNF_CHROOT_INIT | ||
TDNF_BUILD_INSTALL_RPMS | ||
TDNF_CLI_W_CHROOT install tdnf-test-multiversion -y | ||
TDNF_CLI_W_CHROOT downgrade -y | ||
], | ||
[0], | ||
[ignore], | ||
[ignore]) | ||
AT_CLEANUP | ||
|
||
AT_SETUP([downgrade by version]) | ||
AT_KEYWORDS([downgrade]) | ||
AT_CHECK([ | ||
TDNF_CLI_W_CHROOT install tdnf-test-multiversion -y | ||
TDNF_CLI_W_CHROOT downgrade tdnf-test-multiversion-1.0.1 -y | ||
], | ||
[0], | ||
[ignore], | ||
[ignore]) | ||
AT_CLEANUP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.