All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [COMMITTED] [PATCH] commands/file_test.sh: Fix for SLES11
@ 2017-01-04 16:57 Cyril Hrubis
  0 siblings, 0 replies; only message in thread
From: Cyril Hrubis @ 2017-01-04 16:57 UTC (permalink / raw)
  To: ltp

Add more alternative expected outputs, fixes the test on SLES11.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
 testcases/commands/file/file_test.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/testcases/commands/file/file_test.sh b/testcases/commands/file/file_test.sh
index 66d355c..ed4792a 100755
--- a/testcases/commands/file/file_test.sh
+++ b/testcases/commands/file/file_test.sh
@@ -77,12 +77,14 @@ do_test()
 	 2) file_test in.bash "Bourne-Again shell script";;
 	 3) file_test in.sh "POSIX shell script, ASCII text executable" \
 			    "POSIX shell script text executable" \
+			    "POSIX shell script text" \
 			    "Bourne shell script text executable";;
 	 4) file_test in.ksh "Korn shell script";;
 	 5) file_test in.csh "C shell script";;
 	 6) file_test in.c "ASCII C program text" "C source, ASCII text";;
 	 7) file_test in.pl "[pP]erl script, ASCII text executable" \
-			    "[pP]erl script text executable";;
+			    "[pP]erl script text executable" \
+			    "a /usr/bin/perl script text";;
 	 8) file_test in.py "[pP]ython script, ASCII text executable" \
 			    "[pP]ython script text executable";;
 	 9) file_test in.m4 "M4 macro processor script, ASCII text" \
-- 
2.7.3


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-04 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-04 16:57 [LTP] [COMMITTED] [PATCH] commands/file_test.sh: Fix for SLES11 Cyril Hrubis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.