-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from vmware/dev
Fix error codes for install existing, update-check. Add tests
- Loading branch information
Showing
6 changed files
with
50 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
AC_INIT(tdnf, 1.0.6) | ||
AC_INIT(tdnf, 1.0.7) | ||
AC_MSG_NOTICE([tdnf configuration]) | ||
|
||
AC_CANONICAL_SYSTEM | ||
|
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,32 @@ | ||
# | ||
# 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 update tests) | ||
|
||
AT_SETUP([update check]) | ||
AT_KEYWORDS([update]) | ||
AT_CHECK([ | ||
TDNF_CHROOT_CLEAN | ||
TDNF_CHROOT_INIT | ||
TDNF_BUILD_INSTALL_RPMS | ||
TDNF_CLI_W_CHROOT check-update | ||
], | ||
[0], | ||
[ignore], | ||
[ignore]) | ||
AT_CLEANUP | ||
|
||
AT_SETUP([update all]) | ||
AT_KEYWORDS([update]) | ||
AT_CHECK([ | ||
TDNF_CLI_W_CHROOT update -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