]> granicus.if.org Git - strace/blobdiff - tests/scno_tampering.sh
tests: really skip mips o32 scno tampering tests on mips n64
[strace] / tests / scno_tampering.sh
index 094175e45f1b5624e63698cf7d6663fa9793f757..282f2f31e136d0e3ee24524ff039297a68fcad47 100755 (executable)
@@ -51,9 +51,16 @@ case "$STRACE_ARCH" in
        mips)
                # Only the native ABI is supported by the kernel properly, see
                # https://sourceforge.net/p/strace/mailman/message/35587571/
+               msg_prefix="mips $MIPS_ABI scno tampering does not work"
                uname_m="$(uname -m)"
                case "$MIPS_ABI:$uname_m" in
-                       o32:mips|n64:mips64) ;;
-                       *) skip_ "$MIPS_ABI scno tampering does not work on $uname_m yet" ;;
+                       n64:mips64) ;;
+                       o32:mips)
+                               # is it really mips32?
+                               if ../is_linux_mips_n64; then
+                                       skip_ "$msg_prefix on mips n64 yet"
+                               fi
+                               ;;
+                       *) skip_ "$msg_prefix on $uname_m yet" ;;
                esac ;;
 esac