From a5adf06cb095a5824f78b715709f6393ce7acdbb Mon Sep 17 00:00:00 2001 From: minoplhy Date: Thu, 10 Apr 2025 14:08:03 +0700 Subject: [PATCH] 7-test-suite: add YABS,NWS.sh to suite --- 7-test-suite/vpsinfo.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/7-test-suite/vpsinfo.sh b/7-test-suite/vpsinfo.sh index bce4012..5df459d 100644 --- a/7-test-suite/vpsinfo.sh +++ b/7-test-suite/vpsinfo.sh @@ -4,7 +4,6 @@ # 7 Test Suite # - CPU_INFO=$(awk -F: '/model name/ {name=$2} END {print name}' /proc/cpuinfo | sed 's/^[ \t]*//;s/[ \t]*$//') CPU_AES=$(grep aes /proc/cpuinfo) CPU_VIRT=$(lscpu | grep "Virtualization:" | awk '{print $2}') @@ -18,7 +17,10 @@ DISK_TOTAL=$(df -h -t simfs -t ext2 -t ext3 -t ext4 -t btrfs -t xfs -t vfat -t n [[ -z "$CPU_AES" ]] || CPU_AES="yes" -echo "{{< vpsinfo +curl -SL https://yabs.sh | bash -s -- -5 -6 > yabs.sh +curl -sL https://nws.sh | bash > nws.sh + +echo "{{< vps_info cpu=\"$CPU_INFO\" aesni=\"$CPU_AES\" virt=\"$CPU_VIRT\" @@ -27,4 +29,5 @@ memory_total=\"$MEM_TOTAL\" memory_read=\"$MEM_READ_SPEED\" memory_write=\"$MEM_WRITE_SPEED\" disk_total=\"$DISK_TOTAL\" ->}}" \ No newline at end of file +>}} +" > vpsinfo.txt \ No newline at end of file