Add e2e arch test

This commit is contained in:
Amin Yahyaabadi committed 2020-12-09 13:28:47 -06:00
1 parent d6fea3c137
commit 05e7d6cc23
2 files changed
+24

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
if [ -n "$1" ]; then
architecture="$(node -e 'console.log(process.arch)')"
if [ -z "$(echo $architecture | grep --fixed-strings $1)" ]; then
echo "Unexpected architecture"
exit 1
fi
else
echo "Skip testing architecture"
fi