more make safe the exported namespace for udhcp. Move to bb-specific file for reduce...
[oweals/busybox.git] / testsuite / ls / ls-h-works
index f54a7be0b2963cc7d72b3754199f7debf283ce61..7331262c957b49943759d0977b5e29871a3d34e7 100644 (file)
@@ -1,3 +1,4 @@
-ls -h .. > logfile.gnu
-busybox ls -h .. > logfile.bb
+[ -n "$d" ] || d=..
+ls -h "$d" > logfile.gnu
+busybox ls -h "$d" > logfile.bb
 cmp logfile.gnu logfile.bb