Skip to content

Commit 6a09b8a

Browse files
Merge pull request #2933 from vaishnavibhat/pkg_name
rephrase message when test is cancelled
2 parents ac7a7d4 + f3eb898 commit 6a09b8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io/net/tcpdump.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def setUp(self):
102102
pkgs = ['tcpdump', 'flex', 'bison', 'gcc', 'gcc-c++', 'nmap']
103103
for pkg in pkgs:
104104
if not smm.check_installed(pkg) and not smm.install(pkg):
105-
self.cancel("%s package Can not install" % pkg)
105+
self.cancel("Cannot install package: %s" % pkg)
106106
if detected_distro.name == "SuSE":
107107
self.nmap = os.path.join(self.teststmpdir, 'nmap')
108108
nmap_download = self.params.get("nmap_download", default="https:"

0 commit comments

Comments
 (0)