[Bugs] [Bug 1672480] Bugs Test Module tests failing on s390x

bugzilla at redhat.com bugzilla at redhat.com
Wed Feb 13 07:59:42 UTC 2019


https://bugzilla.redhat.com/show_bug.cgi?id=1672480



--- Comment #10 from Nithya Balachandran <nbalacha at redhat.com> ---
Possible fix for ./tests/bugs/posix/bug-1619720.t:


[root at rhgs313-6 tests]# git diff  bugs/posix/bug-1619720.t
diff --git a/tests/bugs/posix/bug-1619720.t b/tests/bugs/posix/bug-1619720.t
index bfd304d..8584476 100755
--- a/tests/bugs/posix/bug-1619720.t
+++ b/tests/bugs/posix/bug-1619720.t
@@ -1,6 +1,7 @@
 #!/bin/bash

 . $(dirname $0)/../../include.rc
+. $(dirname $0)/../../volume.rc
 . $(dirname $0)/../../dht.rc

 cleanup;
@@ -35,7 +36,8 @@ TEST mkdir $M0/tmp
 # file-2 will hash to the other subvol

 TEST touch $M0/tmp/file-2
-pgfid_xattr_name=$(getfattr -m "trusted.pgfid.*" $B0/${V0}1/tmp/file-2 | grep
"trusted.pgfid")
+loc_2=$(get_backend_paths $M0/tmp/file-2)
+pgfid_xattr_name=$(getfattr -m "trusted.pgfid.*" $loc_2 | grep
"trusted.pgfid")
 echo $pgfid_xattr_name

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list