#3316: procps-ng-3.3.7
-------------------------+------------------------
Reporter: gespinasse | Owner: matthew@…
Type: enhancement | Status: assigned
Priority: normal | Milestone: 7.4
Component: Book | Version: SVN
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------
Comment (by gespinasse):
I find the right way to skip kill test. That should be for 3.3.8
{{{
diff --git a/testsuite/kill.test/kill.exp b/testsuite/kill.test/kill.exp
index 8b0d61b..bed50a8 100644
--- a/testsuite/kill.test/kill.exp
+++ b/testsuite/kill.test/kill.exp
@@ -3,6 +3,11 @@
#
set kill ${topdir}kill
+if { ![ file exists $kill ] } {
+ untested { skipping (not build)}
+ return
+}
+
set test "kill with no arguments"
spawn $kill
expect_pass "$test" "Usage:\\s+\(lt-\)?kill \\\[options\\\] <pid>
\\\[...\\\]\\s+Options:\\s+<pid> \\\[...\\\]\\s+send signal to every <pid>
listed\\s+-<signal>, -s, --signal <signal>\\s+specify the <signal> to be
sent\\s+-l, --list=\\\[<signal>\\\]\\s+list all signal names, or convert
one to a name\\\s+-L, --table\\s+list all signal names in a nice
table$usage_help$usage_version$usage_man"
--
1.7.2.5
}}}
While testing, I find that runtest -a produce an output I find better than
only runtest.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3316#comment:2>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page