From unknown Sat Jun 21 03:28:36 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#44636 <44636@debbugs.gnu.org> To: bug#44636 <44636@debbugs.gnu.org> Subject: Status: Misleading documentation Reply-To: bug#44636 <44636@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:28:36 +0000 retitle 44636 Misleading documentation reassign 44636 dejagnu submitter 44636 Robert Menteer severity 44636 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 14 11:14:42 2020 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-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 17 22:57:03 2020 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 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 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-Debbugs-Envelope-To: submit 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: -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 Sat Jun 21 03:28:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 16 Dec 2020 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator