⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config-sub.sh

📁 這是一個實時嵌入式作業系統 實作了MCS51 ARM等MCU
💻 SH
字号:
#!/bin/sh## Copyright 2004, 2005 Free Software Foundation, Inc.# Contributed by Ben Elliston <bje@gnu.org>.## This test reads pairs from config-sub.data: an alias and its# canonical triplet.  The config.sub scripts is invoked and the test# checks that the alias expands to the expected canonical triplet.verbose=falsefunction run_config_sub (){    rc=0    while read alias canonical ; do	output=`sh ../config.sub $alias`	if test $output != $canonical ; then	    echo "FAIL: $alias -> $output, but expected $canonical"	    rc=1	else	    $verbose && echo "PASS: $alias"	fi    done < config-sub.data    return $rc}run_config_subrc=$?if test $rc -eq 0 ; then    $verbose || echo "PASS: config.sub checks"else    test $rc -eq 1 && echo "Unexpected failures."fiexit $rc

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -