]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: add --verbose for better debugging of the custom fscript cli
authorIgor Golikov <igolikov@ibm.com>
Thu, 20 Feb 2025 16:25:12 +0000 (18:25 +0200)
committerIgor Golikov <igolikov@ibm.com>
Thu, 20 Feb 2025 16:25:12 +0000 (18:25 +0200)
Signed-off-by: Igor Golikov <igolikov@ibm.com>
qa/tasks/cephfs/test_fscrypt.py

index c1405415c639a873e4e821077cb955cf9791c191..88c9d246e73f7b497318a90bea341e390f462005 100644 (file)
@@ -22,17 +22,17 @@ class FSCryptTestCase(CephFSTestCase):
 
         self.mount_a.run_shell_payload("sudo fscrypt --help")
         self.mount_a.run_shell_payload("sudo fscrypt setup --help")
-        self.mount_a.run_shell_payload("sudo fscrypt setup --force --quiet")
-        self.mount_a.run_shell_payload("sudo fscrypt status")
-        self.mount_a.run_shell_payload(f"sudo fscrypt setup --quiet {self.mount_a.hostfs_mntpt}")
-        self.mount_a.run_shell_payload("sudo fscrypt status")
+        self.mount_a.run_shell_payload("sudo fscrypt setup --force --verbose")
+        self.mount_a.run_shell_payload("sudo fscrypt status --verbose")
+        self.mount_a.run_shell_payload(f"sudo fscrypt setup {self.mount_a.hostfs_mntpt} --verbose")
+        self.mount_a.run_shell_payload("sudo fscrypt status --verbose")
         self.mount_a.run_shell_payload(f"sudo dd if=/dev/urandom of={self.key_file} bs=32 count=1")
         self.mount_a.run_shell_payload(f"mkdir -p {self.path}")
-        self.mount_a.run_shell_payload(f"sudo fscrypt encrypt --quiet --source=raw_key --name={self.protector} --no-recovery --skip-unlock --key={self.key_file} {self.path}")
-        self.mount_a.run_shell_payload(f"sudo fscrypt unlock --quiet --key=/tmp/key {self.path}")
+        self.mount_a.run_shell_payload(f"sudo fscrypt encrypt --verbose --source=raw_key --name={self.protector} --no-recovery --skip-unlock --key={self.key_file} {self.path}")
+        self.mount_a.run_shell_payload(f"sudo fscrypt unlock --verbose --key=/tmp/key {self.path}")
 
     def tearDown(self):
-        self.mount_a.run_shell_payload(f"sudo fscrypt purge --force --quiet {self.mount_a.hostfs_mntpt}")
+        self.mount_a.run_shell_payload(f"sudo fscrypt purge --force --verbose {self.mount_a.hostfs_mntpt}")
 
         super().tearDown()