From unknown Sun Jun 22 00:54:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44636: Misleading documentation Resent-From: Robert Menteer Original-Sender: "Debbugs-submit" Resent-CC: bug-dejagnu@gnu.org Resent-Date: Sat, 14 Nov 2020 16:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44636 X-GNU-PR-Package: dejagnu X-GNU-PR-Keywords: To: 44636@debbugs.gnu.org X-Debbugs-Original-To: Robert Menteer via Bug-dejagnu Received: via spool by submit@debbugs.gnu.org id=B.160537048218999 (code B ref -1); Sat, 14 Nov 2020 16:15:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Nov 2020 16:14:42 +0000 Received: from localhost ([127.0.0.1]:51719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdyCI-0004wN-FJ for submit@debbugs.gnu.org; Sat, 14 Nov 2020 11:14:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:39526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdyCH-0004wG-Gy for submit@debbugs.gnu.org; Sat, 14 Nov 2020 11:14:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdyCF-0001JG-Up for bug-dejagnu@gnu.org; Sat, 14 Nov 2020 11:14:40 -0500 Received: from st43p00im-ztdg10061801.me.com ([17.58.63.170]:36864) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdyCE-0003O7-5i for bug-dejagnu@gnu.org; Sat, 14 Nov 2020 11:14:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1605370454; bh=ZWbxFl3B+igYdb5l2vDUOtpSaH8PGoslUqzPDs4N7ZA=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=Fllg2qYpduQCQdTKjGFlX2LZb2R8Mntn2vl6u00q1ubkRDaejG0Om/L0/36hskEk/ tpLbfggM+jHrvZwpbw5zVuAvmAO9qjQK+fnZGHDuj9QHrK6YB2+5wsIJa6bwnF4OVF Hw0m9tA0bGP6pVGY0pWjJKoW/srZ0emYDWoehxP144Oe7Wg/LkYz3UvOyF4TsiMDrv paCQ4fHZ1uilrApMQq9gB1VbP9z3pE0A8cYcRaeg6fZYwHn8KRY0izXcUtSH9FaQwQ G39kB0OWLlgeF6a20VrhLWleOQ2ArbmlkXMk2dIlj9FAmMNjfPF/QeaVWAUwQBGSat 0VEgdXJFK4RIw== Received: from [192.168.0.18] (nc-71-50-141-172.dyn.embarqhsd.net [71.50.141.172]) by st43p00im-ztdg10061801.me.com (Postfix) with ESMTPSA id B33448C068F for ; Sat, 14 Nov 2020 16:14:14 +0000 (UTC) From: Robert Menteer Content-Type: multipart/alternative; boundary="Apple-Mail=_38B5C6D4-327F-4D1E-A1E0-F282488C84ED" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Message-Id: Date: Sat, 14 Nov 2020 11:14:13 -0500 X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-14_07:2020-11-13, 2020-11-14 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=682 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2011140108 Received-SPF: pass client-ip=17.58.63.170; envelope-from=reetnem@mac.com; helo=st43p00im-ztdg10061801.me.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/14 11:14:15 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --Apple-Mail=_38B5C6D4-327F-4D1E-A1E0-F282488C84ED Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 In section 4.2.2 of the info manual for DejaGnu it suggests to create a = subdirectory config then create a tool init file in it. If I copy the = unix.exp example to /=E2=80=A6/testsuite/config/tool.exp runtool does = not appear to read it. Looking around the web I found a mention of = placing the init file in /=E2=80=A6/testsuite/lib/. This does seem to = work as I get the following output: Using ./lib/FlDist.exp as tool init file. Another problem with the example init file in that same section is the = expect statement: global ${examplename} This causes the following error: ERROR: tcl error sourcing tool init file ./lib/FlDist.exp. can't read "examplename": no such variable The problem with the documentation is not that it uses examplename in = it=E2=80=99s example but there is nothing explaining how to modify = examplename to fit the tool. This is in contrast to naming files which = is explained in the manual. Thanks, Bob Menteer= --Apple-Mail=_38B5C6D4-327F-4D1E-A1E0-F282488C84ED Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 In = section 4.2.2 of the info manual for DejaGnu it suggests to create a = subdirectory config then create a tool init file in it. If I copy the = unix.exp example to /=E2=80=A6/testsuite/config/tool.exp runtool does = not appear to read it. Looking around the web I found a mention of = placing the init file in /=E2=80=A6/testsuite/lib/. This does seem to = work as I get the following output:

Using = ./lib/FlDist.exp as tool init file.
Another problem with the example init = file in that same section is the expect statement:

global = ${examplename}

This causes the following = error:

ERROR: tcl error sourcing tool = init file ./lib/FlDist.exp.
can't read "examplename": no such = variable

The problem with the documentation is = not that it uses examplename in it=E2=80=99s example but there is = nothing explaining how to modify examplename to fit the tool. This is in = contrast to naming files which is explained in the manual.

Thanks,
Bob Menteer
= --Apple-Mail=_38B5C6D4-327F-4D1E-A1E0-F282488C84ED-- From unknown Sun Jun 22 00:54:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44636: Misleading documentation Resent-From: Jacob Bachmeyer Original-Sender: "Debbugs-submit" Resent-CC: bug-dejagnu@gnu.org Resent-Date: Wed, 18 Nov 2020 03:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44636 X-GNU-PR-Package: dejagnu X-GNU-PR-Keywords: To: reetnem@mac.com, 44636@debbugs.gnu.org Cc: 44636-done@debbugs.gnu.org X-Debbugs-Original-To: Robert Menteer , Robert Menteer via Bug-dejagnu Reply-To: jcb62281@gmail.com Received: via spool by submit@debbugs.gnu.org id=B.160567182322384 (code B ref -1); Wed, 18 Nov 2020 03:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Nov 2020 03:57:03 +0000 Received: from localhost ([127.0.0.1]:33582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfEad-0005oy-4O for submit@debbugs.gnu.org; Tue, 17 Nov 2020 22:57:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:51650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfEaa-0005oY-7N for submit@debbugs.gnu.org; Tue, 17 Nov 2020 22:57:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfEaZ-0003hl-SW for bug-dejagnu@gnu.org; Tue, 17 Nov 2020 22:56:59 -0500 Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]:43015) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfEaY-0008FD-BW for bug-dejagnu@gnu.org; Tue, 17 Nov 2020 22:56:59 -0500 Received: by mail-ot1-x335.google.com with SMTP id y22so452548oti.10 for ; Tue, 17 Nov 2020 19:56:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=SNmHULSpulpcV8NHmpnssa61dGHzBsocr/bM7ruku5I=; b=QfcMj1kP3MU3ySWZHPhU/izAaQUwFYdSGQskmEhT5Ufc98/KulSXULoOwVVVdVcqEr tvktMVW+3fZVYhIPymBWGW2YTcWOaIKkFFTSEe2FkcYQecwpHiih13nYJ2taIjtfrGNJ 2t4r9KYnrGBKILzzULB5vL4lqzx7TH4FqkaRbMifbmT74a963CdsCYvNmqWgEuZxXuX8 L9u7epk7bV5tLhHTRtLvVUDF1y2puaCzymw+5dtJxGjseSdYjub52ObuFV8/Tp2uq3Hi vL5pc2peh96fPCw60Jp/6del0xR76EWBb+j70lu5B1ZETd8QmTAsH9KSg5WlB4Ugx2dr Idjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:reply-to:user-agent :mime-version:to:cc:subject:references:in-reply-to :content-transfer-encoding; bh=SNmHULSpulpcV8NHmpnssa61dGHzBsocr/bM7ruku5I=; b=IeOpMLmVaTO2xJbKE80JXmWUMpf/n7Y3+T81wz22PTlKVdu+H4VLkrsF+Kz0UWEH83 118YR8BDreWuYKjCRL/0WmGk7IxtlpfXdtDJLmHqYpGXT1iIQ6Dt3c+bGt+cujG88VA4 ujr+p25sJtAcXG9cSIdoZguNFjsz0VzVj3th107DL90e4r3hXTaHkr0r4nnJaV8W2yJY sTzLfw1Y9SCemhVC8UermtRHfOJtTTLT9Hu3z+/6aUUiUf78ssfSrK9OyoCxvtWRH+jv 9gReQGE3XX9lHxjdghAeCdvnEh7s+n2mVyYO6DTpqc8Z1JF8fLYD9iilb9wndeXodpv7 g/sQ== X-Gm-Message-State: AOAM531KO2EiQRn4+dyWjtrj/UaCAT7O06eIIM4qV2r6O2Z18XKbycni 7TnhT3Lz5C6DQPgmzm3J87k= X-Google-Smtp-Source: ABdhPJyo0EUEhYXBWst5tKebvInDYAaOHYXTPPfNWoE0qRZdkhi6UmwH2UPD1/aQFeDsmAHBFDYAQA== X-Received: by 2002:a9d:6f12:: with SMTP id n18mr5073123otq.24.1605671817193; Tue, 17 Nov 2020 19:56:57 -0800 (PST) Received: from [192.168.2.42] (adsl-70-133-144-11.dsl.ablntx.sbcglobal.net. [70.133.144.11]) by smtp.gmail.com with ESMTPSA id r67sm7049118oif.43.2020.11.17.19.56.56 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Nov 2020 19:56:56 -0800 (PST) Message-ID: <5FB49B87.6070502@gmail.com> Date: Tue, 17 Nov 2020 21:56:55 -0600 From: Jacob Bachmeyer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::335; envelope-from=jcb62281@gmail.com; helo=mail-ot1-x335.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLYTO_END_DIGIT=0.25, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Robert Menteer via Bug-dejagnu via wrote: > In section 4.2.2 of the info manual for DejaGnu it suggests to create > a subdirectory config then create a tool init file in it. If I copy > the unix.exp example to /…/testsuite/config/tool.exp runtool does not > appear to read it. You are correct that this is wrong; the manual is conflating tool init files and target interface files here. > Looking around the web I found a mention of placing the init file in > /…/testsuite/lib/. This is correct; the manual has been corrected in commit 9950000f4ec0f6cd2c5afbc8ec5413391c20a535. Closing as now fixed. -- Jacob From unknown Sun Jun 22 00:54:15 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Robert Menteer Subject: bug#44636: closed (Re: bug#44636: Misleading documentation) Message-ID: References: <5FB49B87.6070502@gmail.com> X-Gnu-PR-Message: they-closed 44636 X-Gnu-PR-Package: dejagnu Reply-To: 44636@debbugs.gnu.org Date: Wed, 18 Nov 2020 03:58:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1605671882-22531-1" This is a multi-part message in MIME format... ------------=_1605671882-22531-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #44636: Misleading documentation which was filed against the dejagnu package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 44636@debbugs.gnu.org. --=20 44636: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D44636 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1605671882-22531-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 44636-done) by debbugs.gnu.org; 18 Nov 2020 03:57:06 +0000 Received: from localhost ([127.0.0.1]:33584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfEag-0005pD-EF for submit@debbugs.gnu.org; Tue, 17 Nov 2020 22:57:06 -0500 Received: from mail-ot1-f47.google.com ([209.85.210.47]:40974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfEac-0005oT-PV for 44636-done@debbugs.gnu.org; Tue, 17 Nov 2020 22:57:03 -0500 Received: by mail-ot1-f47.google.com with SMTP id o3so457404ota.8 for <44636-done@debbugs.gnu.org>; Tue, 17 Nov 2020 19:57:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=SNmHULSpulpcV8NHmpnssa61dGHzBsocr/bM7ruku5I=; b=QfcMj1kP3MU3ySWZHPhU/izAaQUwFYdSGQskmEhT5Ufc98/KulSXULoOwVVVdVcqEr tvktMVW+3fZVYhIPymBWGW2YTcWOaIKkFFTSEe2FkcYQecwpHiih13nYJ2taIjtfrGNJ 2t4r9KYnrGBKILzzULB5vL4lqzx7TH4FqkaRbMifbmT74a963CdsCYvNmqWgEuZxXuX8 L9u7epk7bV5tLhHTRtLvVUDF1y2puaCzymw+5dtJxGjseSdYjub52ObuFV8/Tp2uq3Hi vL5pc2peh96fPCw60Jp/6del0xR76EWBb+j70lu5B1ZETd8QmTAsH9KSg5WlB4Ugx2dr Idjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:reply-to:user-agent :mime-version:to:cc:subject:references:in-reply-to :content-transfer-encoding; bh=SNmHULSpulpcV8NHmpnssa61dGHzBsocr/bM7ruku5I=; b=KQtYkeBoaplqTIWuFuXWQB5e5gZ+ZkOf9L9iitQtnODsT+8w6toZ8ucAKUg+IB4L06 71fYpfpvZ9/DUoWnoM68jEMO2IHcYxrKPnW45n+GlCxPfG1HokybxQropinKjONNTyxJ mDmpP8/miiGlBkJoBJck/0LliajXUoa9bcj/oEGsCpOthtQr8dEXQvmmc+Lc1GzNDvct C7t63XRnbpSW4HH4IG3/TWI1wzUpCdC7faCFxGsdz0BV/u8Rhy4q3oCIMacnynPGk1V7 bVKD6NPFldkH5sRF3snxySZs22UcMzq1dQ3nQvhUvKmj31W0hGlW+1vZGHtpMhpeoUAQ cCQw== X-Gm-Message-State: AOAM530YOSlFRUtxElq3kPcezSnKeBjeVJqTNBEeb0Bq/ncxsza+QYRw SREUqXB6gNd1pTLLWSo9rss= X-Google-Smtp-Source: ABdhPJyo0EUEhYXBWst5tKebvInDYAaOHYXTPPfNWoE0qRZdkhi6UmwH2UPD1/aQFeDsmAHBFDYAQA== X-Received: by 2002:a9d:6f12:: with SMTP id n18mr5073123otq.24.1605671817193; Tue, 17 Nov 2020 19:56:57 -0800 (PST) Received: from [192.168.2.42] (adsl-70-133-144-11.dsl.ablntx.sbcglobal.net. [70.133.144.11]) by smtp.gmail.com with ESMTPSA id r67sm7049118oif.43.2020.11.17.19.56.56 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Nov 2020 19:56:56 -0800 (PST) Message-ID: <5FB49B87.6070502@gmail.com> Date: Tue, 17 Nov 2020 21:56:55 -0600 From: Jacob Bachmeyer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Robert Menteer , Robert Menteer via Bug-dejagnu Subject: Re: bug#44636: Misleading documentation References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 44636-done Cc: 44636-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: jcb62281@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Robert Menteer via Bug-dejagnu via wrote: > In section 4.2.2 of the info manual for DejaGnu it suggests to create > a subdirectory config then create a tool init file in it. If I copy > the unix.exp example to /…/testsuite/config/tool.exp runtool does not > appear to read it. You are correct that this is wrong; the manual is conflating tool init files and target interface files here. > Looking around the web I found a mention of placing the init file in > /…/testsuite/lib/. This is correct; the manual has been corrected in commit 9950000f4ec0f6cd2c5afbc8ec5413391c20a535. Closing as now fixed. -- Jacob ------------=_1605671882-22531-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Nov 2020 16:14:42 +0000 Received: from localhost ([127.0.0.1]:51719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdyCI-0004wN-FJ for submit@debbugs.gnu.org; Sat, 14 Nov 2020 11:14:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:39526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdyCH-0004wG-Gy for submit@debbugs.gnu.org; Sat, 14 Nov 2020 11:14:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdyCF-0001JG-Up for bug-dejagnu@gnu.org; Sat, 14 Nov 2020 11:14:40 -0500 Received: from st43p00im-ztdg10061801.me.com ([17.58.63.170]:36864) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdyCE-0003O7-5i for bug-dejagnu@gnu.org; Sat, 14 Nov 2020 11:14:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1605370454; bh=ZWbxFl3B+igYdb5l2vDUOtpSaH8PGoslUqzPDs4N7ZA=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=Fllg2qYpduQCQdTKjGFlX2LZb2R8Mntn2vl6u00q1ubkRDaejG0Om/L0/36hskEk/ tpLbfggM+jHrvZwpbw5zVuAvmAO9qjQK+fnZGHDuj9QHrK6YB2+5wsIJa6bwnF4OVF Hw0m9tA0bGP6pVGY0pWjJKoW/srZ0emYDWoehxP144Oe7Wg/LkYz3UvOyF4TsiMDrv paCQ4fHZ1uilrApMQq9gB1VbP9z3pE0A8cYcRaeg6fZYwHn8KRY0izXcUtSH9FaQwQ G39kB0OWLlgeF6a20VrhLWleOQ2ArbmlkXMk2dIlj9FAmMNjfPF/QeaVWAUwQBGSat 0VEgdXJFK4RIw== Received: from [192.168.0.18] (nc-71-50-141-172.dyn.embarqhsd.net [71.50.141.172]) by st43p00im-ztdg10061801.me.com (Postfix) with ESMTPSA id B33448C068F for ; Sat, 14 Nov 2020 16:14:14 +0000 (UTC) From: Robert Menteer Content-Type: multipart/alternative; boundary="Apple-Mail=_38B5C6D4-327F-4D1E-A1E0-F282488C84ED" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Misleading documentation Message-Id: Date: Sat, 14 Nov 2020 11:14:13 -0500 To: Robert Menteer via Bug-dejagnu X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-14_07:2020-11-13, 2020-11-14 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=682 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2011140108 Received-SPF: pass client-ip=17.58.63.170; envelope-from=reetnem@mac.com; helo=st43p00im-ztdg10061801.me.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/14 11:14:15 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --Apple-Mail=_38B5C6D4-327F-4D1E-A1E0-F282488C84ED Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 In section 4.2.2 of the info manual for DejaGnu it suggests to create a = subdirectory config then create a tool init file in it. If I copy the = unix.exp example to /=E2=80=A6/testsuite/config/tool.exp runtool does = not appear to read it. Looking around the web I found a mention of = placing the init file in /=E2=80=A6/testsuite/lib/. This does seem to = work as I get the following output: Using ./lib/FlDist.exp as tool init file. Another problem with the example init file in that same section is the = expect statement: global ${examplename} This causes the following error: ERROR: tcl error sourcing tool init file ./lib/FlDist.exp. can't read "examplename": no such variable The problem with the documentation is not that it uses examplename in = it=E2=80=99s example but there is nothing explaining how to modify = examplename to fit the tool. This is in contrast to naming files which = is explained in the manual. Thanks, Bob Menteer= --Apple-Mail=_38B5C6D4-327F-4D1E-A1E0-F282488C84ED Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 In = section 4.2.2 of the info manual for DejaGnu it suggests to create a = subdirectory config then create a tool init file in it. If I copy the = unix.exp example to /=E2=80=A6/testsuite/config/tool.exp runtool does = not appear to read it. Looking around the web I found a mention of = placing the init file in /=E2=80=A6/testsuite/lib/. This does seem to = work as I get the following output:

Using = ./lib/FlDist.exp as tool init file.
Another problem with the example init = file in that same section is the expect statement:

global = ${examplename}

This causes the following = error:

ERROR: tcl error sourcing tool = init file ./lib/FlDist.exp.
can't read "examplename": no such = variable

The problem with the documentation is = not that it uses examplename in it=E2=80=99s example but there is = nothing explaining how to modify examplename to fit the tool. This is in = contrast to naming files which is explained in the manual.

Thanks,
Bob Menteer
= --Apple-Mail=_38B5C6D4-327F-4D1E-A1E0-F282488C84ED-- ------------=_1605671882-22531-1--