summaryrefslogtreecommitdiff
path: root/testsuite/xargs/xargs-works
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/xargs/xargs-works')
-rw-r--r--testsuite/xargs/xargs-works5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/xargs/xargs-works b/testsuite/xargs/xargs-works
index 4ad5818..c95869e 100644
--- a/testsuite/xargs/xargs-works
+++ b/testsuite/xargs/xargs-works
@@ -1,3 +1,4 @@
-find -name \*works -type f | xargs md5sum > logfile.gnu
-find -name \*works -type f | busybox xargs md5sum > logfile.bb
+[ -n "$d" ] || d=..
+find "$d" -name \*works -type f | xargs md5sum > logfile.gnu
+find "$d" -name \*works -type f | busybox xargs md5sum > logfile.bb
diff -u logfile.gnu logfile.bb