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 error codes for install existing, update-check. Add tests for the…
… same
- Loading branch information
Priyesh Padmavilasom
committed
Jan 14, 2016
1 parent
85b89c3
commit 1557467
Showing
5 changed files
with
49 additions
and
1 deletion.
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
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