From: Jacob Bachmeyer Date: Sat, 27 Feb 2021 02:54:27 +0000 (-0600) Subject: Add initial support skeleton code for DejaGnu testsuite X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=99a0672c4883c65a0f63665543f2696270741520;p=gatekeeper.git Add initial support skeleton code for DejaGnu testsuite --- diff --git a/testsuite/config/unix.exp b/testsuite/config/unix.exp new file mode 100644 index 0000000..fa81ada --- /dev/null +++ b/testsuite/config/unix.exp @@ -0,0 +1 @@ +# empty file diff --git a/testsuite/lib/upload.exp b/testsuite/lib/upload.exp new file mode 100644 index 0000000..b566d23 --- /dev/null +++ b/testsuite/lib/upload.exp @@ -0,0 +1,29 @@ +# DejaGnu tool init file for GNU FTP upload handler tests + +# Copyright (C) 2021 Jacob Bachmeyer +# +# This file is part of a testsuite for the GNU FTP upload system. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +set UPLOAD_TOOL [file join $srcdir upload-ftp-v1.2.pl] + +proc upload_exit {} {} +proc upload_version {} { + global UPLOAD_TOOL + + exec -- $UPLOAD_TOOL --version >@ stdout +} + +#EOF