diff --git a/Makefile b/Makefile index 19bc50449..63467fe4b 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ BUILDDIR := $(BASEDIR)/target/${PROFILE}/ PKG_BUILDDIR := $(BUILDDIR)/deps/ BUSYBOX_ROOT := $(BASEDIR)/tmp/ -BUSYBOX_VER := 1.24.1 +BUSYBOX_VER := 1.22.0 BUSYBOX_SRC:=$(BUSYBOX_ROOT)/busybox-$(BUSYBOX_VER)/ # Possible programs diff --git a/tests/common/util.rs b/tests/common/util.rs index 0340329ae..540cf5b5f 100755 --- a/tests/common/util.rs +++ b/tests/common/util.rs @@ -246,7 +246,7 @@ impl AtPath { pub fn append(&self, name: &str, contents: &str) { log_info("open(append)", self.plus_as_string(name)); - let mut f = OpenOptions::new().append(true).open(self.plus(name)).unwrap(); + let mut f = OpenOptions::new().write(true).append(true).open(self.plus(name)).unwrap(); let _ = f.write(contents.as_bytes()); }