projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add SWAP_LE?? and SWAP_BE?? macros, and make things use them. Converts values
[oweals/busybox.git]
/
testsuite
/
tail
/
tail-n-works
diff --git
a/testsuite/tail/tail-n-works
b/testsuite/tail/tail-n-works
index 321db7f8ade44b0608e635dfa4e6b8ee916841e0..27a905f88e63abc62f65691bb345d487622e9943 100644
(file)
--- a/
testsuite/tail/tail-n-works
+++ b/
testsuite/tail/tail-n-works
@@
-1,3
+1,4
@@
-tail -n 2 ../README > logfile.gnu
-busybox tail -n 2 ../README > logfile.bb
+[ -n "$d" ] || d=..
+tail -n 2 "$d/README" > logfile.gnu
+busybox tail -n 2 "$d/README" > logfile.bb
cmp logfile.gnu logfile.bb