aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-04-02 14:27:40 -0500
committerRob Landley <rob@landley.net>2019-04-02 14:27:40 -0500
commitb6194477fca7e543a14333f9a875d23f91053792 (patch)
treea7c560a2ee894165a8d3ba8e7592091c4f38ef37 /tests
parent113f5aa959a551e477347b86286d2ae82fe77875 (diff)
downloadtoybox-b6194477fca7e543a14333f9a875d23f91053792.tar.gz
Fix a test that wasn't deterministic.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/rm.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rm.test b/tests/rm.test
index 42727442..f0a123c3 100755
--- a/tests/rm.test
+++ b/tests/rm.test
@@ -52,7 +52,7 @@ chmod 777 one 2>/dev/null ; rm -rf one
mkdir -p d1
touch d1/f1.txt d1/f2.txt
testing "-rv dir" \
- "rm -rv d1" "rm 'd1/f1.txt'\nrm 'd1/f2.txt'\nrmdir 'd1'\n" "" ""
+ "rm -rv d1 | sort" "rm 'd1/f1.txt'\nrm 'd1/f2.txt'\nrmdir 'd1'\n" "" ""
rm -rf d1
touch "'"