mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-21 03:14:50 +00:00
This commit was manufactured by cvs2svn to create tag
'debian_version_2_14-8'. git-svn-id: file:///srv/svn/joey/bsdgames-tags/debian_version_2_14-8@5231 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# tests/factor.test - test functionality of factor.
|
||||
#
|
||||
# Copyright (c) 1999 Joseph Samuel Myers.
|
||||
# Copyright (c) 1999, 2003 Joseph Samuel Myers.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -55,3 +55,15 @@ factor/factor <<EOF >test.out 2>&1 || failtest
|
||||
EOF
|
||||
compare test.out tests/factor.123456
|
||||
rm -f test.out
|
||||
|
||||
if grep -q HAVE_OPENSSL include/bsd-games.h; then
|
||||
testno 5
|
||||
factor/factor 987654321987654 >test.out 2>&1 || failtest
|
||||
compare test.out tests/factor.987654321987654
|
||||
rm -f test.out
|
||||
|
||||
testno 6
|
||||
factor/factor 987654321987654321987 >test.out 2>&1 || failtest
|
||||
compare test.out tests/factor.987654321987654321987
|
||||
rm -f test.out
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user