Skip to content

Commit

Permalink
Merge 7dc062b into a1be887
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkr authored May 23, 2020
2 parents a1be887 + 7dc062b commit 50126e7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ then

test x`./build-$1/test_putser` = xhello

# pack /bin/sh and run the CI flow using the packed executable
./build-$1/papawify build-$1/papaw /bin/sh sh-packed-$1
# pack the shell and run the CI flow using the packed executable
./build-$1/papawify build-$1/papaw /bin/dash sh-packed-$1
export LD_PRELOAD=`pwd`/build-$1/libpapaw.so
exec ./sh-packed-$1 -xe $0 $1
fi
Expand Down Expand Up @@ -74,7 +74,7 @@ test ! -s /proc/$$/exe

# make sure unpacking works
./build-$1/unpapawify sh-packed-$1 sh-unpacked-$1
cmp /bin/sh sh-unpacked-$1
cmp /bin/dash sh-unpacked-$1

# packed executables can be deleted while running
rm -f sh-packed-$1
Expand All @@ -92,7 +92,7 @@ test x`./build-$1/test_crasher` = x
test -z "`ls /tmp/core* 2>/dev/null`"

# make sure there are no compression-related strings
test -z "`strings -a ./build-$1/test_putser | grep -i -e lz -e xz -e deflate -e miniz -e zlib -e zstandard -e zstd -e huff -e rle -e copy -e license -e papaw`"
test -z "`strings -a ./build-$1/test_putser | grep -i -e $1 -e miniz -e zlib -e zstandard -e zstd -e huff -e rle -e copy -e license -e papaw`"

# the payload should be extracted to dir_prefix
here=`pwd`
Expand Down
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ elif compression == 'zstd'
compression_sources += [
custom_target('zstddeclib_obfuscated',
input: custom_target('zstddeclib',
input: 'zstd/contrib/single_file_decoder/zstddeclib-in.c',
input: 'zstd/contrib/single_file_libs/zstddeclib-in.c',
output: 'zstddeclib.h',
command: [
join_paths(meson.current_source_dir(), 'zstd/contrib/single_file_decoder/combine.sh'),
join_paths(meson.current_source_dir(), 'zstd/contrib/single_file_libs/combine.sh'),
'-r',
join_paths(meson.current_source_dir(), 'zstd/lib'),
'-r',
Expand Down
2 changes: 1 addition & 1 deletion zstd
Submodule zstd updated 275 files

0 comments on commit 50126e7

Please sign in to comment.