diff options
Diffstat (limited to 'tests/misc/arch')
-rwxr-xr-x | tests/misc/arch | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/misc/arch b/tests/misc/arch index 942fa933d..c568b48fb 100755 --- a/tests/misc/arch +++ b/tests/misc/arch @@ -16,10 +16,12 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +. $srcdir/../test-lib.sh + # skip this test if arch isn't being built. case " $built_programs " in *" arch "*) ;; - *) (exit 77); exit 77 ;; + *) skip_test_ 'not building arch';; esac if test "$VERBOSE" = yes; then @@ -27,9 +29,6 @@ if test "$VERBOSE" = yes; then arch --version fi -. $srcdir/../test-lib.sh - - fail=0 arch > out || fail=1 |