Skip to content

Commit

Permalink
Add unit tests for ne method
Browse files Browse the repository at this point in the history
To support a transactional system we need to look at the process table to
see if zypper is operating on a directory other than the default root path.
A new function was added to retrieve the target path form the zypper
command line. Test the various command line options.
  • Loading branch information
rjschwei committed May 9, 2024
1 parent 6ccaa96 commit 0b5b34a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions integration_test-process.txt
Expand Up @@ -19,6 +19,8 @@ After installing the test package with "zypper in"
+ no error no message
+ zypper lr has no repos
+ nothing in /etc/zypp/credentials.d
+ nothing in /etc/zypp/services.d/
+ no pkl files in /var/cache/cloudregister/
- registercloudguest
+ no error
+ sucees message on stdout
Expand Down Expand Up @@ -75,6 +77,7 @@ After installing the test package with "zypper in"
+ no error no message
+ zypper lr has no repos
+ nothing in /etc/zypp/credentials.d
+ nothing in /etc/zypp/services.d/
- registercloudguest -r XXX
+ no error
+ sucees message on stdout
Expand Down

0 comments on commit 0b5b34a

Please sign in to comment.