]> rtime.felk.cvut.cz Git - novaboot.git/commitdiff
Simplify file generation in tests
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 21 Oct 2013 21:25:02 +0000 (23:25 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 21 Oct 2013 21:25:02 +0000 (23:25 +0200)
tests/novaboot.wv

index 5ed04d673e0fa0e893f679c14640b4d8b8d5a863..0594c6c4c4338eab8a90476febd1ae49b4dadb05 100755 (executable)
@@ -49,9 +49,7 @@ $builddir="build";
 1;
 EOF
 create_script <<'EOF'
-file <<XXX
-Hello
-XXX
+file < echo Hello
 EOF
 WVPASS ./script --gen-only
 WVPASS test -f build/file
@@ -60,9 +58,7 @@ WVSTART BUILDDIR variable
 WVPASS mkdir -p build
 create_script <<'EOF'
 BUILDDIR=build
-file <<XXX
-Hello
-XXX
+file < echo Hello
 EOF
 WVPASS ./script --gen-only
 WVPASS test -f build/file