summaryrefslogtreecommitdiff
path: root/release/src/router/busybox/testsuite/ls/ls-s-works
diff options
context:
space:
mode:
Diffstat (limited to 'release/src/router/busybox/testsuite/ls/ls-s-works')
-rw-r--r--release/src/router/busybox/testsuite/ls/ls-s-works4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/src/router/busybox/testsuite/ls/ls-s-works b/release/src/router/busybox/testsuite/ls/ls-s-works
new file mode 100644
index 00000000..0a9d7526
--- /dev/null
+++ b/release/src/router/busybox/testsuite/ls/ls-s-works
@@ -0,0 +1,4 @@
+[ -n "$d" ] || d=..
+LC_ALL=C ls -1s "$d" > logfile.gnu
+LC_ALL=C busybox ls -1s "$d" > logfile.bb
+diff -ubw logfile.gnu logfile.bb