From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id UTtWLQsF72n/4z0AWB0awg (envelope-from ) for ; Mon, 27 Apr 2026 02:41:15 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=evYWPyP/; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id B530C1E0BA; Mon, 27 Apr 2026 02:41:15 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id A00A11E093 for ; Mon, 27 Apr 2026 02:41:14 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 4F5494BB590F for ; Mon, 27 Apr 2026 06:41:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F5494BB590F Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=evYWPyP/ Received: from mail-dl1-x1231.google.com (mail-dl1-x1231.google.com [IPv6:2607:f8b0:4864:20::1231]) by sourceware.org (Postfix) with ESMTPS id DBABB4B99F7F for ; Mon, 27 Apr 2026 06:37:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DBABB4B99F7F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DBABB4B99F7F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::1231 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777271834; cv=none; b=qJWO3ijX6EKrAuJvLwcXZQ59EZtkJMspi/uz9Z31XuOLFOBfbi9LLTFIWhF6ofrZxZSiKxO4G1RtNkh+QwWSKfpPqXkyuoLDzDmCrMu2fmf17852GA8D5x2dK+CRmr+QDnSh/WWvKW8JoXx1dj789d8a3RTMZawRR91E694pRqc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777271834; c=relaxed/simple; bh=WVYI18ExUeefAJP7DwHHaDO4eY2ve+ByOK1wruEiwZA=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=HtWNhIM1vBd7TZf000zD3FSBS5iuHCDoGMo+CXnwfyo4Sm7D2qCvPGM2HPTRYRoQZKvTaRK7zjZPGgZNT2/dqmCKoGY4zXo4chVkd1h+Zlgm1XsJSM27VOe1yUpAU03rSK7lxjeA1NwGi+J2UGxpp1gPTxJsr8kerIPnJdeUNJM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DBABB4B99F7F Received: by mail-dl1-x1231.google.com with SMTP id a92af1059eb24-12713e56abdso7015411c88.1 for ; Sun, 26 Apr 2026 23:37:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1777271833; x=1777876633; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=BGqXNQPNoPcFXTYZaUuBSalrG1LjigW+wMFVRyUnrAk=; b=evYWPyP/TsLf6kPNm/kjQULRs8Euul2dmq4Rf08Es5znbPHloRjQU1DqzqtaspBXgb D+RZUT50LxT65TzS3BeXIebNsYFygtFRAnWJfV1tipccX57kocldGm7KJwfD/o+cHc97 lmJx7wQ9074cNnQVEYtl4kiaGYszJ2f9+jxSrLWMQX63/v96nfbYf21r4Bd08UtYByW+ Vjxah5f1su0LLpj7/223eR4linlx0ij6b52wA37CpB0C4tY8hXQWqyIjcynaWnq9rfvs CF+tySZgPl2h73KW6g1O+za7uOyVhELbVhAPL/4x4V5CnvaVUqCtfQYkVJ2pIkvezev0 DWUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777271833; x=1777876633; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=BGqXNQPNoPcFXTYZaUuBSalrG1LjigW+wMFVRyUnrAk=; b=YAbdF8qjiSwrVUhenUwJGEPGAQTxIwdTa3hoN1q8vxQX2FpwnLheQkCtM6pSsjsLqP NnkHKGUa0LdaiUVkB8WmVlutJGSXZjI286ALiVdDqnMaUDtoLSW3psX9WJB5J/61JGgJ ZofUVT/9k9QGFgVTaaYQrJApbyh3+4QuKUijs/BEw1VrE5CDvvRwg1B2s0jPiqRHhou6 f05hVyrT9zX650leoquZyuZAOg2mgx12ZBUhw9Ru8VTk8kjG69hDIfUQUWF7rbdH+4SA zGL0TYPN3KbniVFaWkTBMyVH+OxyyCrYCfXJ8es4GBBle9KxWUd6n2qItTzGlcoGDdgM XcIQ== X-Gm-Message-State: AOJu0YxLlGOO+Ul+CgGAksK7IJLw1NQo1nF7LB5bls/v3964Oemx0e5b 3QP7hPb8Czxwkrt+XokMO0bAYA2tqTUgV8L/Tv6PaWh8aZogDYvW6dtbHpbDMMX1WMeqeuxeHne ulvje X-Gm-Gg: AeBDievJ963VRisnATE2piNZuU127TZ4CC8K7lgWr2aF0onSxMguOgki0f6kF2J8xQj LGstdb5VTM7ak0d0hyxBKpY6C4FutChCH3/+/KyzXQ75ilPvDoS3nNPsR5b94YjNs6lZa6cNDTB 2erS6bNumpsmW9PcRhVCourRF6DkCxyzzOmOFAYSFUc+O8x9yuaT5ds9O2vUYKjLek5LznYTqeD dqbQ9zB8rtuUJN47gkWtIU+6WbiY0QgaPcmuKyjgwoIYqLjaT+pQEhe56NIz0v8F9VO5eMpiSYB SsR8NO5l8oEpFnbJbYYM9G+LVpc7vJkOdZ7pNB8dub+IInTfa54irj8yRgtQFGeVP1i4OYMF7NB Uax4Ok6niJNGeZCIC2kACqxy7egRrlqfFEFdscXV3CbMnXjQAIuBbmz17/mdqPZtBMjkXrzBYXl U2i9nEVRu41TyDRb35XlR5G9tSO+YiWR1xtxrU7ldLAPWZaxJwfYF12Ao= X-Received: by 2002:a05:7022:b88:b0:123:3c24:b15 with SMTP id a92af1059eb24-12c73b43fadmr15588921c88.19.1777271832692; Sun, 26 Apr 2026 23:37:12 -0700 (PDT) Received: from localhost ([2804:14d:7e39:8083:33bc:f32e:9aa5:b915]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-12c837f7feasm51137441c88.0.2026.04.26.23.37.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Apr 2026 23:37:12 -0700 (PDT) From: Thiago Jung Bauermann To: gdb-patches@sourceware.org Subject: [PATCH 34/36] GDB: testsuite: TUI: Don't return -1 from top-level (sed) Date: Mon, 27 Apr 2026 03:34:58 -0300 Message-ID: <20260427063500.3847618-35-thiago.bauermann@linaro.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260427063500.3847618-1-thiago.bauermann@linaro.org> References: <20260427063500.3847618-1-thiago.bauermann@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org This patch is purely the result of running: $ sed -i 's/^ return -1/ return/' *.exp* inside gdb/testsuite/gdb.tui. --- gdb/testsuite/gdb.tui/basic.exp | 2 +- gdb/testsuite/gdb.tui/break.exp | 2 +- gdb/testsuite/gdb.tui/compact-source.exp | 2 +- gdb/testsuite/gdb.tui/corefile-run.exp | 6 +++--- gdb/testsuite/gdb.tui/flush-after-run.exp | 2 +- gdb/testsuite/gdb.tui/list-before.exp | 2 +- gdb/testsuite/gdb.tui/list.exp | 2 +- gdb/testsuite/gdb.tui/main-2.exp | 2 +- gdb/testsuite/gdb.tui/main.exp | 2 +- gdb/testsuite/gdb.tui/new-layout.exp | 2 +- gdb/testsuite/gdb.tui/regs.exp | 2 +- gdb/testsuite/gdb.tui/reread.exp | 2 +- gdb/testsuite/gdb.tui/resize-3.exp | 2 +- gdb/testsuite/gdb.tui/resize-one-line.exp | 2 +- gdb/testsuite/gdb.tui/resize.exp | 2 +- gdb/testsuite/gdb.tui/scroll.exp | 2 +- gdb/testsuite/gdb.tui/tui-focus.exp | 2 +- gdb/testsuite/gdb.tui/tui-init-source.exp | 2 +- gdb/testsuite/gdb.tui/tui-layout-asm-short-prog.exp | 2 +- gdb/testsuite/gdb.tui/tui-layout-asm.exp | 2 +- gdb/testsuite/gdb.tui/tui-layout.exp | 2 +- gdb/testsuite/gdb.tui/winheight.exp | 2 +- gdb/testsuite/gdb.tui/winwidth.exp | 2 +- 23 files changed, 25 insertions(+), 25 deletions(-) diff --git a/gdb/testsuite/gdb.tui/basic.exp b/gdb/testsuite/gdb.tui/basic.exp index 7909cea674d6..26264082a163 100644 --- a/gdb/testsuite/gdb.tui/basic.exp +++ b/gdb/testsuite/gdb.tui/basic.exp @@ -24,7 +24,7 @@ standard_testfile main-one-line.c set main_line [gdb_get_line_number "int main"] if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } Term::clean_restart 24 80 $testfile diff --git a/gdb/testsuite/gdb.tui/break.exp b/gdb/testsuite/gdb.tui/break.exp index 4e07a0c0b691..154ca40b69fa 100644 --- a/gdb/testsuite/gdb.tui/break.exp +++ b/gdb/testsuite/gdb.tui/break.exp @@ -20,7 +20,7 @@ tuiterm_env standard_testfile tui-layout.c if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } Term::clean_restart 24 80 $testfile diff --git a/gdb/testsuite/gdb.tui/compact-source.exp b/gdb/testsuite/gdb.tui/compact-source.exp index 9f41a160b3f4..e9478bbeb863 100644 --- a/gdb/testsuite/gdb.tui/compact-source.exp +++ b/gdb/testsuite/gdb.tui/compact-source.exp @@ -38,7 +38,7 @@ puts $fd $src_txt close $fd if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } Term::clean_restart 24 80 $testfile diff --git a/gdb/testsuite/gdb.tui/corefile-run.exp b/gdb/testsuite/gdb.tui/corefile-run.exp index 7e1184ecf040..1361e4a7f6de 100644 --- a/gdb/testsuite/gdb.tui/corefile-run.exp +++ b/gdb/testsuite/gdb.tui/corefile-run.exp @@ -27,19 +27,19 @@ standard_testfile tui-layout.c set core [standard_output_file "${testfile}.core"] if { [prepare_for_testing "failed to prepare" $testfile $srcfile debug] } { - return -1 + return } # Only run on native boards. require {target_can_use_run_cmd core} if { ![runto_main] } { - return -1 + return } if { ![gdb_gcore_cmd "$core" "save a corefile"] } { untested "could not generate a corefile" - return -1 + return } set src_line "return 0;" diff --git a/gdb/testsuite/gdb.tui/flush-after-run.exp b/gdb/testsuite/gdb.tui/flush-after-run.exp index ecc2caafc33d..db20b8cee80b 100644 --- a/gdb/testsuite/gdb.tui/flush-after-run.exp +++ b/gdb/testsuite/gdb.tui/flush-after-run.exp @@ -24,7 +24,7 @@ tuiterm_env standard_testfile if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } Term::clean_restart 24 80 $testfile diff --git a/gdb/testsuite/gdb.tui/list-before.exp b/gdb/testsuite/gdb.tui/list-before.exp index 55485aa5629c..5d3cef954d49 100644 --- a/gdb/testsuite/gdb.tui/list-before.exp +++ b/gdb/testsuite/gdb.tui/list-before.exp @@ -20,7 +20,7 @@ tuiterm_env standard_testfile tui-layout.c if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } Term::clean_restart 24 80 $testfile diff --git a/gdb/testsuite/gdb.tui/list.exp b/gdb/testsuite/gdb.tui/list.exp index de58afa53e1a..5cefebc7e016 100644 --- a/gdb/testsuite/gdb.tui/list.exp +++ b/gdb/testsuite/gdb.tui/list.exp @@ -20,7 +20,7 @@ tuiterm_env standard_testfile tui-layout.c if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } Term::clean_restart 24 80 $testfile diff --git a/gdb/testsuite/gdb.tui/main-2.exp b/gdb/testsuite/gdb.tui/main-2.exp index 1b8068e3a361..9b3b38645b0f 100644 --- a/gdb/testsuite/gdb.tui/main-2.exp +++ b/gdb/testsuite/gdb.tui/main-2.exp @@ -23,7 +23,7 @@ tuiterm_env standard_testfile tui-layout.c if { [build_executable "failed to prepare" $testfile $srcfile ] == -1} { - return -1 + return } Term::clean_restart 24 80 $testfile diff --git a/gdb/testsuite/gdb.tui/main.exp b/gdb/testsuite/gdb.tui/main.exp index 5bc6b91cdee4..d8a9c8eebe85 100644 --- a/gdb/testsuite/gdb.tui/main.exp +++ b/gdb/testsuite/gdb.tui/main.exp @@ -22,7 +22,7 @@ tuiterm_env standard_testfile tui-layout.c if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } # Note: don't pass the executable here diff --git a/gdb/testsuite/gdb.tui/new-layout.exp b/gdb/testsuite/gdb.tui/new-layout.exp index f293773f9d15..e544ef6fd90a 100644 --- a/gdb/testsuite/gdb.tui/new-layout.exp +++ b/gdb/testsuite/gdb.tui/new-layout.exp @@ -20,7 +20,7 @@ tuiterm_env standard_testfile tui-layout.c if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } # Make sure TUI is supported before continuing. diff --git a/gdb/testsuite/gdb.tui/regs.exp b/gdb/testsuite/gdb.tui/regs.exp index 3c524ad49a70..8169538da85c 100644 --- a/gdb/testsuite/gdb.tui/regs.exp +++ b/gdb/testsuite/gdb.tui/regs.exp @@ -20,7 +20,7 @@ tuiterm_env standard_testfile tui-layout.c if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } Term::clean_restart 24 80 $testfile diff --git a/gdb/testsuite/gdb.tui/reread.exp b/gdb/testsuite/gdb.tui/reread.exp index de35fef744cd..3ed0839e1c83 100644 --- a/gdb/testsuite/gdb.tui/reread.exp +++ b/gdb/testsuite/gdb.tui/reread.exp @@ -23,7 +23,7 @@ tuiterm_env standard_testfile main-one-line.c if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } Term::clean_restart 24 80 $testfile diff --git a/gdb/testsuite/gdb.tui/resize-3.exp b/gdb/testsuite/gdb.tui/resize-3.exp index d9e0948a9a80..fdaffe006419 100644 --- a/gdb/testsuite/gdb.tui/resize-3.exp +++ b/gdb/testsuite/gdb.tui/resize-3.exp @@ -23,7 +23,7 @@ if { [build_executable_from_specs "failed to prepare" \ $testfile {debug} \ $srcfile {debug} \ $srcfile2 {nodebug}] == -1 } { - return -1 + return } tuiterm_env diff --git a/gdb/testsuite/gdb.tui/resize-one-line.exp b/gdb/testsuite/gdb.tui/resize-one-line.exp index f5e2858b05d2..0a47dcf0e7f8 100644 --- a/gdb/testsuite/gdb.tui/resize-one-line.exp +++ b/gdb/testsuite/gdb.tui/resize-one-line.exp @@ -22,7 +22,7 @@ tuiterm_env standard_testfile main-one-line.c if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } Term::clean_restart 24 80 $testfile diff --git a/gdb/testsuite/gdb.tui/resize.exp b/gdb/testsuite/gdb.tui/resize.exp index 93918f3b3560..25f52c6a5b8e 100644 --- a/gdb/testsuite/gdb.tui/resize.exp +++ b/gdb/testsuite/gdb.tui/resize.exp @@ -20,7 +20,7 @@ tuiterm_env standard_testfile tui-layout.c if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } Term::clean_restart 24 80 $testfile diff --git a/gdb/testsuite/gdb.tui/scroll.exp b/gdb/testsuite/gdb.tui/scroll.exp index e9fa829f40ec..0162cfd8db7b 100644 --- a/gdb/testsuite/gdb.tui/scroll.exp +++ b/gdb/testsuite/gdb.tui/scroll.exp @@ -24,7 +24,7 @@ tuiterm_env standard_testfile tui-layout.c if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } Term::clean_restart 24 80 $testfile diff --git a/gdb/testsuite/gdb.tui/tui-focus.exp b/gdb/testsuite/gdb.tui/tui-focus.exp index 5df76b59b864..310b3a473206 100644 --- a/gdb/testsuite/gdb.tui/tui-focus.exp +++ b/gdb/testsuite/gdb.tui/tui-focus.exp @@ -23,7 +23,7 @@ load_lib gdb-python.exp standard_testfile if {[prepare_for_testing "failed to prepare" ${testfile} ${srcfile}]} { - return -1 + return } # Run a series of tests based on various test specifications. diff --git a/gdb/testsuite/gdb.tui/tui-init-source.exp b/gdb/testsuite/gdb.tui/tui-init-source.exp index edd364e05b12..f49b0ecdcbdb 100644 --- a/gdb/testsuite/gdb.tui/tui-init-source.exp +++ b/gdb/testsuite/gdb.tui/tui-init-source.exp @@ -23,7 +23,7 @@ tuiterm_env standard_testfile if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } Term::clean_restart 24 80 $testfile diff --git a/gdb/testsuite/gdb.tui/tui-layout-asm-short-prog.exp b/gdb/testsuite/gdb.tui/tui-layout-asm-short-prog.exp index e54ae69997ed..b3dd72ce1ceb 100644 --- a/gdb/testsuite/gdb.tui/tui-layout-asm-short-prog.exp +++ b/gdb/testsuite/gdb.tui/tui-layout-asm-short-prog.exp @@ -27,7 +27,7 @@ lappend opts additional_flags=-nostdlib lappend opts ldflags=-nostartfiles if { [build_executable "failed to prepare" $testfile $srcfile $opts] == -1 } { - return -1 + return } Term::clean_restart 24 80 $testfile diff --git a/gdb/testsuite/gdb.tui/tui-layout-asm.exp b/gdb/testsuite/gdb.tui/tui-layout-asm.exp index bbaa4f9b846f..01193b6fb44b 100644 --- a/gdb/testsuite/gdb.tui/tui-layout-asm.exp +++ b/gdb/testsuite/gdb.tui/tui-layout-asm.exp @@ -21,7 +21,7 @@ tuiterm_env standard_testfile tui-layout.c if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } # The wider the window is, the less line truncation happens, so matching diff --git a/gdb/testsuite/gdb.tui/tui-layout.exp b/gdb/testsuite/gdb.tui/tui-layout.exp index 05ca3b450290..1cb70504e3f8 100644 --- a/gdb/testsuite/gdb.tui/tui-layout.exp +++ b/gdb/testsuite/gdb.tui/tui-layout.exp @@ -23,7 +23,7 @@ tuiterm_env standard_testfile if {[prepare_for_testing "failed to prepare" ${testfile} ${srcfile}]} { - return -1 + return } # Run one test of the 'layout' command, selecting LAYOUT_NAME. diff --git a/gdb/testsuite/gdb.tui/winheight.exp b/gdb/testsuite/gdb.tui/winheight.exp index 758f23d8f723..9daf08916af8 100644 --- a/gdb/testsuite/gdb.tui/winheight.exp +++ b/gdb/testsuite/gdb.tui/winheight.exp @@ -20,7 +20,7 @@ tuiterm_env standard_testfile tui-layout.c if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } Term::clean_restart 24 80 $testfile diff --git a/gdb/testsuite/gdb.tui/winwidth.exp b/gdb/testsuite/gdb.tui/winwidth.exp index a18ff4edba1f..cc6c7dcd1536 100644 --- a/gdb/testsuite/gdb.tui/winwidth.exp +++ b/gdb/testsuite/gdb.tui/winwidth.exp @@ -20,7 +20,7 @@ tuiterm_env standard_testfile tui-layout.c if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { - return -1 + return } Term::clean_restart 24 80 $testfile