aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-07-18 16:38:41 +0100
committerDaniel P. Berrange <berrange@redhat.com>2012-07-18 16:38:54 +0100
commit7c7d01e15f9ee9a4628801bb60a9e16a98fc1153 (patch)
treed0ae7d81ab95617f130be7f3cc4ca53119125f0d /src/test
parentFix parameter passed with VIR_ERR_INVALID_ARG in sanlock driver (diff)
downloadlibvirt-7c7d01e15f9ee9a4628801bb60a9e16a98fc1153.tar.gz
libvirt-7c7d01e15f9ee9a4628801bb60a9e16a98fc1153.tar.bz2
libvirt-7c7d01e15f9ee9a4628801bb60a9e16a98fc1153.zip
Add missing _(...) around 2 error messages in test driver
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index b3b774d5f..c3bad788d 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -2203,7 +2203,7 @@ testDomainSetVcpusFlags(virDomainPtr domain, unsigned int nrCpus,
if (nrCpus > maxvcpus) {
testError(VIR_ERR_INVALID_ARG,
- "requested cpu amount exceeds maximum (%d > %d)",
+ _("requested cpu amount exceeds maximum (%d > %d)"),
nrCpus, maxvcpus);
goto cleanup;
}
@@ -4057,7 +4057,7 @@ testStorageFindPoolSources(virConnectPtr conn ATTRIBUTE_UNUSED,
case VIR_STORAGE_POOL_NETFS:
if (!source || !source->hosts[0].name) {
testError(VIR_ERR_INVALID_ARG,
- "%s", "hostname must be specified for netfs sources");
+ "%s", _("hostname must be specified for netfs sources"));
goto cleanup;
}