randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
b47b3ce1bd
commit
47b03368f3
@ -1,21 +1,13 @@
|
|||||||
dt1="`date -R`"
|
# When different date's use time() and clock_gettime(),
|
||||||
# Wait for the start of next second
|
# seconds transition may not happen at _exactly_ the same moment.
|
||||||
dt="$dt1"
|
# Therefore we try it several times.
|
||||||
while test x"$dt" = x"$dt1"; do
|
|
||||||
dt="`date -R`"
|
|
||||||
done
|
|
||||||
|
|
||||||
bdt=`busybox date -R`
|
test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
|
||||||
bdt=`busybox date -R`
|
test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
|
||||||
bdt=`busybox date -R`
|
test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
|
||||||
bdt=`busybox date -R`
|
test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
|
||||||
bdt=`busybox date -R`
|
test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
|
||||||
|
test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
|
||||||
# Wtih !FEATURE_DATE_NANO, that is, with time()
|
test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
|
||||||
# instead of clock_gettime(), seconds transition
|
test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
|
||||||
# may not happen at _exactly_ the same moment,
|
false
|
||||||
# but can be delayed. Several busybox date -R
|
|
||||||
# invocations above are meant to deal with this.
|
|
||||||
# (two were enough for me, but I added more just in case).
|
|
||||||
|
|
||||||
test x"$dt" = x"$bdt"
|
|
||||||
|
@ -46,7 +46,7 @@ rm mount.image1m
|
|||||||
|
|
||||||
|
|
||||||
# Bug: mount.shared1 directory shows no files (has to show files a and b)
|
# Bug: mount.shared1 directory shows no files (has to show files a and b)
|
||||||
optional FEATURE_LS_RECURSIVE
|
optional FEATURE_LS_RECURSIVE FEATURE_LS_SORTFILES
|
||||||
testing "mount bind+rshared" "\
|
testing "mount bind+rshared" "\
|
||||||
mkdir -p mount.dir mount.shared1 mount.shared2
|
mkdir -p mount.dir mount.shared1 mount.shared2
|
||||||
touch mount.dir/a mount.dir/b
|
touch mount.dir/a mount.dir/b
|
||||||
|
Loading…
Reference in New Issue
Block a user