aboutsummaryrefslogtreecommitdiff
path: root/busybox/testsuite/tail/tail-n-works
diff options
context:
space:
mode:
Diffstat (limited to 'busybox/testsuite/tail/tail-n-works')
-rw-r--r--busybox/testsuite/tail/tail-n-works4
1 files changed, 4 insertions, 0 deletions
diff --git a/busybox/testsuite/tail/tail-n-works b/busybox/testsuite/tail/tail-n-works
new file mode 100644
index 000000000..27a905f88
--- /dev/null
+++ b/busybox/testsuite/tail/tail-n-works
@@ -0,0 +1,4 @@
1[ -n "$d" ] || d=..
2tail -n 2 "$d/README" > logfile.gnu
3busybox tail -n 2 "$d/README" > logfile.bb
4cmp logfile.gnu logfile.bb