aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2003-01-13 23:19:31 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2003-01-13 23:19:31 +0000
commit65ddf77fbd0f1ec832f062cf05a15bbd2cf1080e (patch)
treec71c597efb86273b1f5e6ecb13beac51abbb3221 /testsuite
parentb4a1baa312746a1ddc934b1ddb035b64e72e746b (diff)
downloadbusybox-65ddf77fbd0f1ec832f062cf05a15bbd2cf1080e.tar.gz
busybox-65ddf77fbd0f1ec832f062cf05a15bbd2cf1080e.tar.bz2
Patch from Tito to rework strings applet, and some testsuite
stuff to test it added by me.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/strings/strings-works-like-GNU8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/strings/strings-works-like-GNU b/testsuite/strings/strings-works-like-GNU
new file mode 100644
index 000000000..02e423134
--- /dev/null
+++ b/testsuite/strings/strings-works-like-GNU
@@ -0,0 +1,8 @@
+rm -f foo bar
+strings -af ../../busybox > foo
+busybox strings -af ../../busybox > bar
+test ! -f foo -a -f bar
+if [ $? = 0 ] ; then
+ diff -q foo bar
+fi;
+