From c41e859b238998453a99a3fbe6f082f081372b86 Mon Sep 17 00:00:00 2001
From: Anatoly Pugachev <matorola@gmail.com>
Date: Fri, 8 Apr 2022 17:53:58 +0300
Subject: [PATCH] tests: fix misc/setarch run in a docker environment

Fixes: #601
---
 tests/ts/misc/setarch | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/ts/misc/setarch b/tests/ts/misc/setarch
index 6c872bf70..ab2f6c009 100755
--- a/tests/ts/misc/setarch
+++ b/tests/ts/misc/setarch
@@ -23,6 +23,7 @@ ts_check_test_command "$TS_CMD_SETARCH"
 ARCH=$(uname -m)
 
 ts_init_subtest options
+test -e /.dockerenv && ts_skip "unsupported in docker environment"
 ts_log_both "###### unknown arch"
 $TS_CMD_SETARCH qubit -v echo "success" >> $TS_OUTPUT 2>> $TS_ERRLOG
 echo "exit: $?" >>$TS_OUTPUT
-- 
2.33.0

